menu
home
Home
search
Search
people
About Us
exit_to_app
Login
home
Home
search
Search
people
About Us
exit_to_app
Login
Practicing for Preg Basics of Web Design & Development
Questions 1 of 10
Q. What will be the output of the following PHP code?
$number = array(0,1,two,three,four,5);
$num = preg_grep("/[0-5]/", $number);
print_r($num);
Array([0]=>0 [1]=>1 [2]=>two [3]=>three [4]=>four [5]=>5)
Array([2]=>two [3]=>three [4]=>four)
Array([1]=> 1)
Array([0]=>0 [1]=>1 [5]=>5)
Submit
lock
Login
person
Signup
Email
Password
Name
Email
Password
Confirm Password