Question from the PHP8 test

Create an array with 3 elements using array_fill()

Medium

What will the following code display?

$array = array_fill(-4, 3, true);
var_dump($array);
Author: DamienStatus: PublishedQuestion passed 97 times
Edit
1
Community EvaluationsNo one has reviewed this question yet, be the first!