What is the result of the following code?
define('PI', 3.14);
class T
{
const PI = PI;
}
class Math
{
const PI = T::PI;
}
echo Math::PI;
Which of the following statements about PHP is false? (Choose 2)
Your supervisor wants you to disallow PHP scripts to open remote HTTP and FTP resources using PHP's file functions. Which php.ini setting should you change accordingly?
What is the output of the following code?
$text = 'This is text';
$text1 = <<<'TEXT'
$text
TEXT;
$text2 = << $text1 TEXT; echo "$text2";
When using password_hash() with the PASSWORD_DEFAULT algorithm constant, which of the following is true? (Choose 2)