In PHP a variable needs to be declare before assign
What will be the output of the following PHP code?
Which character does the error_reporting directive use to represent the logical operator NOT?
Which one of the following function is used to start a session?
Which one of the following functions will convert a string to all uppercase?
Which of the following functions is responsible for sending a custom message to the system log?
Which one of the following is the right way to invoke a method?
How to define a function in PHP?
What will be the output of the following PHP code?
<?php
$author = "nachiketh@example.com";
$author = str_replace("a","@",$author);
echo "Contact the author of this article at $author.";
?>
Which of the following is/are true for an abstract class?
i) Abstract classes in PHP are declared with the help of the abstract keyword.
ii) A class is declared abstract by using the keyword implements.
iii) It is a class that really isn’t supposed to ever be instantiated but instead serves as a base class.
iv) Attempting to instantiate an abstract class results in an error.