79 of 110 menu

PHP Output an Array

To output an array, use var_dump. See the example:

<?php $arr = [1, 2, 3]; var_dump($arr); ?>

Code execution result:

[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