4 ms·
The core of C is small enough that you can fit it in your head. PHP has so many functions that it's almost impossible to write it without googling php.net, etc
by tambourine_man 15y ago
The core of C is small enough that you can fit it in your head.
PHP has so many functions that it's almost impossible to write it without googling php.net, etc.
Not that this matters so much, Google is fast and omnipresent, but in that sense they are definitively not alike.
- ZoFreX 15y agoAlmost impossible? Pop quiz: The case-insensitive version of "strpos" is "stripos", what is the case-insensitive version of "strcmp"?
- simonw 15y agoI'm guessing it's stricmp... However off the top of my head I have absolutely no idea what the argument order and return values for any of those four functions will be without looking them up.
- ZoFreX 15y agobuzzer sound I'm sorry, the answer we were looking for was "strcasecmp" (Sorry if the level of levity is considered inappropriate, but humour is a level 4 defence mechanism and the only way I can remain sane in the face of such things)