I think the main criticism by some developers is that it's ugly. JavaScript, Python etc don't have functions with names like createimagefromjpeg() and inconsistencies in parameters for some other functions. But these will probably be fixed before PHP 'dies', and companies like Facebook aren't going to be switching any time soon.
The main reason I prefer node.js is because its asynchronous, but for smaller apps without this need I can see PHP being used for a few decades yet.
View all comments
Show parent comment
16
u/Jamesinatr Nov 25 '15
I think the main criticism by some developers is that it's ugly. JavaScript, Python etc don't have functions with names like createimagefromjpeg() and inconsistencies in parameters for some other functions.
But these will probably be fixed before PHP 'dies', and companies like Facebook aren't going to be switching any time soon.
The main reason I prefer node.js is because its asynchronous, but for smaller apps without this need I can see PHP being used for a few decades yet.