What is the return value of the following code?
strpos("me myself and I", "m", 2)
Would the following code catch a parse error?
try {
echo $label
} catch (Exception $e) {
echo $e->getMessage();
}
Which of the following data types is implicitly passed by reference in PHP 5 while it is passed by value in PHP 4?
How many elements does the $matches array contain after the following function call is performed?
preg_match('/^(\d{1,2}([a-z]+))(?:\s*)\S+ (?=200[0-9])/', '21st March
2006', $matches);