note 119151 added to migration70.incompatible

From: Date: Mon, 11 Apr 2016 15:41:01 +0000
Subject: note 119151 added to migration70.incompatible
Groups: php.notes 
Request: Send a blank email to php-notes+get-205200@lists.php.net to get a copy of this message
The substr function has also been changed in a backward incompatible way. <?php substr("test",4); # false in PHP 5, "" in PHP 7 ?> In fact, this is the only thing we had to change in a number of places for our code base to run on PHP 7. It's definitely an improvement though, as the old behavior tended to cause bugs in border cases. ---- Server IP: 72.52.91.14 Probable Submitter: 2001:980:4205:1:5c15:aeda:49c9:ce49 ---- Manual Page -- http://php.net/manual/en/migration70.incompatible.php Edit -- https://master.php.net/note/edit/119151 Del: integrated -- https://master.php.net/note/delete/119151/integrated Del: useless -- https://master.php.net/note/delete/119151/useless Del: bad code -- https://master.php.net/note/delete/119151/bad+code Del: spam -- https://master.php.net/note/delete/119151/spam Del: non-english -- https://master.php.net/note/delete/119151/non-english Del: in docs -- https://master.php.net/note/delete/119151/in+docs Del: other reasons-- https://master.php.net/note/delete/119151 Reject -- https://master.php.net/note/reject/119151 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#205200) next »