1. $pattern = "GHI";
$subject = "ABCDEFGHIJKLMN";
If you find the pattern "GHI" which is the faster way to find it?
a) preg_match()
b) strpos
Ref: http://php.net/manual/en/function.preg-match.php
==================================================
2.
$subject = "ABCDEFGHIJKLMN";
If you find the pattern "GHI" which is the faster way to find it?
a) preg_match()
b) strpos
Ref: http://php.net/manual/en/function.preg-match.php
==================================================
2.
No comments:
Post a Comment