What is the maximum number of indexes on MyISAM table?
Which keyword is used to inherit a subclass from a superclass in PHP?
What does PHP stand for?
Which PHP function is used to print information about variables in a human-readable way?
Which one of the following function checks for the existence of DNS records?
What is the description of Error level E_ERROR?
How to disregard repeated error messages that occur within the same file and on the same line?
What will be the output of the following PHP code?
<?php
function sum($num1, $num2)
{
$total = $num1 + $num2;
echo chr($total);
}
$var1 = "sum";
$var1(5, 44);
?>
Choose for the following program.
function foo()
{
$args = func_get_args();
foreach ($args as $k => $v)
{
echo "arg".($k+1).": $v\n";
}
}
foo()
foo("Hello")
foo("Hello","World","Bye");
What will be the output of the following PHP code?
<?php
$str = "Hello! My name is Cameron Fox. Coffee?";
$find = array('/is/','/coffee/');
$replace = array('/was/','/tea/');
echo preg_replace($find, $replace, $str);
?>