note 116496 added to language.types.string

From: Date: Mon, 12 Jan 2015 22:07:24 +0000
Subject: note 116496 added to language.types.string
Groups: php.notes 
Request: Send a blank email to php-notes+get-201417@lists.php.net to get a copy of this message
Small note to consider in heredoc multiple dimension array will not work and neither will any native language functions <?php $a[1] = "man"; $b['man'] = "player"; echo <<<ED $b[$a[1]] // will result in error substr($a[1], 1) // will result in substr(man, 1) ED; ?> ---- Server IP: 72.52.91.14 Probable Submitter: 39.32.136.195 ---- Manual Page -- http://php.net/manual/en/language.types.string.php Edit -- https://master.php.net/note/edit/116496 Del: integrated -- https://master.php.net/note/delete/116496/integrated Del: useless -- https://master.php.net/note/delete/116496/useless Del: bad code -- https://master.php.net/note/delete/116496/bad+code Del: spam -- https://master.php.net/note/delete/116496/spam Del: non-english -- https://master.php.net/note/delete/116496/non-english Del: in docs -- https://master.php.net/note/delete/116496/in+docs Del: other reasons-- https://master.php.net/note/delete/116496 Reject -- https://master.php.net/note/reject/116496 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#201417) next »