Which version of PHP introduced the E_STRICT Error level?
What does PECL stand for?
What is the output of the given PHP code?
Which of the following PHP functions is used to check the PHP configuration settings or your PHP setup?
The practice of creating objects based on predefined classes is often referred to as _____.
In PHP the ______
statement takes all the text/code/markup that exists in the specified file and copies it into the file that uses the include statement.
What will be the output of the following PHP code?
<?php
$op2 = "blabla";
function foo($op1)
{
echo $op1;
echo $op2;
}
foo("hello");
?>
Which one of the following lines need to be uncommented or added in the php.ini file so as to enable mysqli extension?
Why can the Foo()
method not be overridden in a child class?
class A {
final function Foo() {
echo "A";
}
}
class B extends A {
function Foo() {
echo "B";
}
}
What will be the output of the following code?
<?php
$var=300;
$int_options = array("options"=>array ("min_range"=>0, "max_range"=>128));
if (!filter_var($var, FILTER_VALIDATE_INT, $int_options))
echo("Integer is not valid");
else
echo("Integer is valid");
?>