SlideShare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our User Agreement and Privacy Policy.
SlideShare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our Privacy Policy and User Agreement for details.
Successfully reported this slideshow.
Activate your 14 day free trial to unlock unlimited reading.
The State of PHP 2014 - Portsmouth Linux User Group (6th June 2014)
20.
Some reasons...
● Was not “designed”
● Many inconsistencies
○ in_array($needle, $haystack)
○ strstr($haystack, $needle)
○ htmlentities() … html_entity_decode()
21.
Some reasons...
● Was not “designed”
● Many inconsistencies
● Loosely typed
○ int foo = 0;
○ $foo = 0;
22.
Some reasons...
● Was not “designed”
● Many inconsistencies
● Loosely typed
● Seen as “amateur”
23.
Some reasons...
● Was not “designed”
● Many inconsistencies
● Loosely typed
● Seen as “amateur”
● T_PAAMAYIM_NEKUDOTAYIM
24.
Some reasons...
● Was not “designed”
● Many inconsistencies
● Loosely typed
● Seen as “amateur”
● T_PAAMAYIM_NEKUDOTAYIM
● php.internals
25.
Haters gonna hate.
So…
● Use the right tool
● Use what is comfortable
● If you like using PHP, ignore the hate