Question from the PHP7 test

What will this code display?

Medium

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));
Author: UmarStatus: Published(Update)Question passed 33 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!