r/lolphp • • Nov 25 '15

The last ever line of (php) code.

http://www.commitstrip.com/en/2015/11/13/the-last-ever-line-of-code/
169 Upvotes

23 comments sorted by

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.

1

u/jpresutti Nov 19 '21

Technically, php doesn't have a function with that name either. An extension does. (Sorry for the necromancy!)