PHP Array Tutorial

preview_player
Показать описание
I only noticed this after recording, when a previously undefined const name value (tree) is used as an array value, PHP will generate a Notice error warning, saying the const name doesn't exist. However, it will still insert it as a value into the array by converting the const name into a string "tree".

This PHP array tutorial for beginners, demonstrates creation of PHP arrays in several different ways from scratch. The array keyword is used to create value and index-based arrays. Array key and value dynamics are examined. There is a short bit at the end about distinction between numeric and string values in PHP arrays and PHP variables in general.
Рекомендации по теме
Комментарии
Автор

Thank you for your reminding me of the past vigor...

VicteurLee
Автор

I was surprised that you didn't need curly brackets around the 'print "<b>numeric</b>";' and 'print "<b>string</b>";' statements.

XexusNH
join shbcf.ru