Question from the PHP7 test

Is this PHP code valid?

Medium

Is this code valid?

<?php
define('ANIMALS',[
    'dog',
    'cat',
    'bird',
]);
Author: Julien BreuxStatus: PublishedQuestion passed 1040 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!