71 of 110 menu

PHP List

The list function is used to work with lists. See the example:

<?php $arr = ['1', '2', '3']; list($a, $b, $c) = $arr; echo "Elems: $a, $b, $c"; ?>

Code execution result:

'Elems: '1', '2', '3''
English
БеларускаяEspañolРусский
We use cookies for website operation, analytics, and personalization. Data processing is carried out in accordance with the Privacy Policy.
accept all customize decline