Arrays cannot have associative indices in PHP.
1.How many predefined variables does PHP use to authenticate a user?
The output from PHP is __________
Which method or property can only be accessed from within the enclosing class? Even subclasses have no access.
Which one of the following functions will convert a string to all uppercase?
What will be the output of the following PHP code?
<?php
$str = "Hello World";
echo wordwrap($str, 5, "
");
?>
What will be the output of the following PHP code?
<?php
for ($x = 0; $x <= 10; print ++$x)
{
print ++$x;
}
?>
To process the file, you need to break the array from $_FILES into individual values. You can do this using the ________ function.
Which is the most powerful authentication method among the four?
What will be the output of the following PHP code?
<?php
$foods = array("pasta", "steak", "fish", "potatoes");
$food = preg_grep("/^s/", $foods);
print_r($food);
?>