How many elements does the array $matches from the following code contain?
How many elements does the array $matches from the following code contain?
<code>
1 <?php
2 $str = “The cat sat on the roof of their house.”;
3
4 $matches = preg_split(“/(the)/i”, $str, -1,
PREG_SPLIT_DELIM_CAPTURE);
5 ?>
</code>
What function allows resizing of PHP’s file write buffer?
What function allows resizing of PHP’s file write buffer?
Which of the following functions are used to escape data within the context of HTML?
Which of the following functions are used to escape data within the context of HTML?
(Choose 2)
what will be the value of $b?
After running this sort, what will be the value of $b?
<code>
$a = array(‘_!’, ‘def’, 0);
$b = sort($a);
</code>
Which of the following is an invalid DOM save method?
Which of the following is an invalid DOM save method?
What is the purpose of the 4th argument to the file_get_contents() function?
What is the purpose of the 4th argument to the file_get_contents() function?
Which of the following commands will append data to an existing file?
Which of the following commands will append data to an existing file?
Which of the following statements about SOAP is NOT true?
Which of the following statements about SOAP is NOT true?
Can a private static member be accessed from a public static method of the same class?
Can a private static member be accessed from a public static method of the same class?
Which of the following is NOT a valid function declaration?
Which of the following is NOT a valid function declaration?