php junior developer interview questions code example
Example 1: php interview questions for 2 year experience
<?php
if(empty($_POST['email'])){
echo "The email cannot be empty";
}
$email = $_Post [‘email’]?? "The email cannot be empty";
?>
Example 2: php internship interview questions
$a = '1';
$b = &$a;
$b = "2$b";
echo $a.", ".$b;