Archived
What will this code display?
<?php
declare(strict_types= 1);
function sumOfInts(int... $ints)
{
return array_sum($ints);
}
var_dump(sumOfInts(2, '3', 4.1));
-1
Community EvaluationsNo one has reviewed this question yet, be the first!
2
Which of the following are PHP framework names?2
What will this code display?4
Which of these PHP code snippets are valid?2
Write a PHP code that displays the full name of a person.3
What will this code display?3
Display the first element of an array in PHP2
Which of the following statements are correct?