View Single Post
Old 06-03-2014, 07:36 AM  
dicknipples
Formerly known as Lensman
 
Industry Role:
Join Date: May 2014
Location: Chicago, IL
Posts: 654
Quote:
Originally Posted by rowan View Post
IIRC with some functions it's haystack,needle and in others it's needle,haystack. No one ever complimented PHP for being consistent.
Actually, even with that it's still pretty consistent, like I stated before, Array functions are $needle -> $haystack, and String functions are $haystack -> $needle
dicknipples is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote