note 119151 modified in migration70.incompatible by cmb

From: Date: Tue, 12 Apr 2016 13:21:01 +0000
Subject: note 119151 modified in migration70.incompatible by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-205210@lists.php.net to get a copy of this message
[Editor's Note: that change is listed in the "Changed functions" section.] 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. --was-- 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. http://php.net/manual/en/migration70.incompatible.php

« previous php.notes (#205210) next »