note 120336 added to migration71.other-changes

From: Date: Wed, 14 Dec 2016 21:27:38 +0000
Subject: note 120336 added to migration71.other-changes
Groups: php.notes 
Request: Send a blank email to php-notes+get-208597@lists.php.net to get a copy of this message
It isn't documented anywhere that I can find, but there is another change to the string warnings in php7.1 $x = ""; $x['foo'] = 'bar'; Will quietly convert $x to an array in php70. In php71 it will emit a warning and set the first character of $x to 'b' (roughly interpreting the line as $x[0] = 'b';) ---- Server IP: 72.52.91.14 Probable Submitter: 2606:6000:5150:e500:ad74:3fc7:568:43a6 ---- Manual Page -- http://php.net/manual/en/migration71.other-changes.php Edit -- https://master.php.net/note/edit/120336 Del: integrated -- https://master.php.net/note/delete/120336/integrated Del: useless -- https://master.php.net/note/delete/120336/useless Del: bad code -- https://master.php.net/note/delete/120336/bad+code Del: spam -- https://master.php.net/note/delete/120336/spam Del: non-english -- https://master.php.net/note/delete/120336/non-english Del: in docs -- https://master.php.net/note/delete/120336/in+docs Del: other reasons-- https://master.php.net/note/delete/120336 Reject -- https://master.php.net/note/reject/120336 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#208597) next »