Welcome Guest, Not a member yet? Register   Sign In
extended array helper functions : array_key_matches_regex and array_key_matches_string
#7

[eluser]xwero[/eluser]
[quote author="Pygon" date="1203547557"]
My point was that using strstr or stristr, you can match "update_*" or "*_update", unlike with strncasecmp which could only match the first X chars of the string.
[/quote]
I didn't know you could add wildcards to the strstr needle, thanks for pointing that out.


Messages In This Thread
extended array helper functions : array_key_matches_regex and array_key_matches_string - by El Forum - 02-20-2008, 10:59 AM



Theme © iAndrew 2016 - Forum software by © MyBB