View Single Post
Old 06-03-2014, 10:51 AM  
blackmonsters
Making PHP work
 
blackmonsters's Avatar
 
Industry Role:
Join Date: Nov 2002
Location: 🌎🌅🌈🌇
Posts: 20,753
Quote:
Originally Posted by Bowser Koopa View Post
Actually, even with that it's still pretty consistent, like I stated before, Array functions are $needle -> $haystack, and String functions are $haystack -> $needle
Why didn't they let us chose like this :

stripos(needle=$input, haystack=$pile);
stripos(haystack=$pile, needle=$input);



Or why not just make something that regular people understand like

Find $this in $that;

Too much like COBOL I guess, tech people feel too "untechy" when using COBOL.

blackmonsters is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote