Medium
What will this code display?
<?php
$data=[
[1, 'Tom'],
[2, 'Fred'],
];
[$id1, $name1]= $data[0];
echo $id1. ':'. $name1;
Author: Julien BreuxStatus: PublishedQuestion passed 1129 times
Edit
3
Community EvaluationsNo one has reviewed this question yet, be the first!
4
Which of these PHP code snippets are valid?2
What will this code display?1
Why is the Singleton design pattern considered an anti-pattern?3
What will this code display?2
Write a PHP code that displays the full name of a person.2
Which of the following are PHP framework names?2
Which of the following statements are correct?