News Feed
Jobs Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Satya Prakash's Blog:
PHP is not Java
November 29, 2010 @ 08:42:53

On the Web Scripting Blog today, Satya Prakash has a reminder for developers and those hiring them alike - PHP is not Java.

I went for Interview and there interviewer asked me few questions. I disagreed on two questions and their answers. [...] After I disagreed [about parentheses being required on class creation] they said it is essential in new PHP version 5.2.x. Still I disagreed then he said, no no after PHP 5.2.x, PHP is like Java. [...] I like PHP and I do not want it to become Java. If just by implementing Object Oriented Programming PHP can become Java then I will say Java is C++ or Java copied C++.

He proves his stance with a bit of sample code showing that the object creation doesn't require the parentheses to create.

0 comments voice your opinion now!
java language convention


blog comments powered by Disqus

Similar Posts

PHPRiot.com: Translating Text Using the Google Translate API and PHP, JSON and cURL

Fernando Bassani's Blog: Putting the PHP/Java Bridge to work - I

PHPMaster.com: Better Understanding Random

Developer Tutorials Blog: Why you should be using YAML for config

Ruslan Yakushev's Blog: PHP Manager for IIS is available in 5 languages


Community Events











Don't see your event here?
Let us know!


unittest introduction install framework database facebook series application package language opinion performance symfony2 release hack component podcast composer security hhvm

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework