Hi everyone! I'm the author of code.mu :)
I'd love to chat with my non-Russian audience. I'm looking for your feedback on the site and the translation quality. Let's chat:)
28 of 110 menu

PHP Array Element

To output a array element in PHP, you should access it by its index, see the example:

<?php $arr = ['a', 'b', 'c']; echo $arr[0]; // will output 'a' echo $arr[1]; // will output 'b' echo $arr[2]; // will output 'c' ?>

See Also

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