Medium
What will this code display?
<?php
$firstname= 'Bob';
$fullname=($firstname ?? 'John'). ''.($lastname ?? 'Doe');
echo $fullname;
Author: Julien BreuxStatus: PublishedQuestion passed 1109 times
Edit
2
Community EvaluationsNo one has reviewed this question yet, be the first!
3
What will this code display?2
What will this code display?2
Which of the following statements are correct?3
Display the first element of an array in PHP2
Which of the following are PHP framework names?4
Which of these PHP code snippets are valid?1
Why is the Singleton design pattern considered an anti-pattern?