4 ms·
Some of these complaints don't even make sense: He doesn't like the lack of strict mode, but complains that E_ALL tells him too much; maybe it's telling him to
by nuclear_eclipse 16y ago
Some of these complaints don't even make sense:
He doesn't like the lack of strict mode, but complains that E_ALL tells him too much; maybe it's telling him too much because he's not writing things correctly, just like 'use strict' would.
He complains that you need to remember the parenthesis for a function call, but short of Ruby, I can't think of any other "normal" language that doesn't. C/C++/C#, Java, Python...
He complains that a whole bunch of things are considered false, but when using the === operator, they aren't.
Always use <?php ?>, and your code will always work, everywhere.
Just because people abuse include() doesn't make it a flaw of the language. Strawman ftw.
Plugins written for one framework won't work in another. Gasp! News at 11...
- adamc 16y agoPython has properties to abstract away function calls.
- nuclear_eclipse 16y agoSo does PHP: http://www.php.net/manual/en/language.oop5.overloading.php#language.oop5.overloading.members http://www.php.net/manual/en/language.oop5.overloading.php#l...
- wazoox 16y ago> He doesn't like the lack of strict mode, but complains that E_ALL tells him too much; maybe it's telling him too much because he's not writing things correctly, just like 'use strict' would. "use strict" makes compilation errors. E_ALL only does runtime errors. Both are useful, and having one is no excuse for missing the other.