ID:          45166
 Updated by:  [EMAIL PROTECTED]
-Summary:     Note, that behaviour has been changed as from 5.2.3
 Reported By: marrtins at dqdp dot net
-Status:      Assigned
+Status:      Analyzed
 Bug Type:    Strings related
-PHP Version: 5.2
+PHP Version: 5.3
 Assigned To: iliaa
 New Comment:

It appears to be. The change came from the following NEWS entry:

- Fixed bug #40754 (added substr() & substr_replace() overflow checks).
(Ilia)

Some concerns were expressed in #40754 about the change... I'm changing
this bug to "String related" until we know for sure.


Previous Comments:
------------------------------------------------------------------------

[2008-11-05 17:06:22] [EMAIL PROTECTED]

See also bug#40754

------------------------------------------------------------------------

[2008-11-05 16:54:58] marrtins at dqdp dot net

Seems to me it`s a bug, not documention problem.

------------------------------------------------------------------------

[2008-11-05 16:50:50] [EMAIL PROTECTED]

Question: Did 5.3.0 intentionally revert to earlier behaviour? And if
not already, we need a test case in php-src for this.

------------------------------------------------------------------------

[2008-11-05 16:49:07] [EMAIL PROTECTED]

4.3.1 - 5.2.1: cd
5.2.2 - 5.2.6: Boolean false
5.3.0a2: cd

------------------------------------------------------------------------

[2008-11-05 16:45:38] marrtins at dqdp dot net

Don`t know *exact* version of change, I have tested on PHP versions
listed above and specified behaviours on each that version available to
me.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/45166

-- 
Edit this bug report at http://bugs.php.net/?id=45166&edit=1

Reply via email to