How many functions does PHP offer for searching and modifying strings using Perl-compatible regular expressions.
PHP has long supported two regular expression implementations known as _______ and _______
i) Perl
ii) PEAR
iii) Pearl
iv) POSIX Which one of the following regular expression matches any string containing zero or one p?
[:alpha:] can also be specified as ________
How many functions does PHP offer for searching strings using POSIX style regular expression?
What will be the output of the following PHP code?
<?php
$username = "jasoN";
if (ereg("([^a-z])",$username))
echo "Username must be all lowercase!";
else
echo "Username is all lowercase!";
?> POSIX implementation was deprecated in which version of PHP?
POSIX stands for ____________
What will be the output of the following PHP code?
<?php
$text = "this is\tsome text that\nwe might like to parse.";
print_r(split("[\n\t]",$text));
?> Which of the following would be a potential match for the Perl-based regular expression /fo{2,4}/?
i) fol
ii) fool
iii) fooool
iv) fooooool Which among the following is/are not a metacharacter?
i) \a
ii) \A
iii) \b
iv) \B