- Core:
. Fixed a crash inside dtor for error handling. (Ilia)
+ . Fixed bug #54454 (substr_compare incorrectly reports equality in some
+ cases). (Pierrick)
. Fixed bug #54180 (parse_url() incorrectly parses path when ? in fragment).
(tomas dot brastavicius at quantum dot lt, Pierrick)
- . Fixed bug #48465 (sys_get_temp_dir() possibly inconsistent when using
- TMPDIR on Windows). (Pierre)
+ . Fixed bug #48465 (sys_get_temp_dir() possibly inconsistent when using
+ TMPDIR on Windows). (Pierre)
+
- cURL
. Added CURLINFO_REDIRECT_URL support. (Daniel Stenberg, Pierre)
--- /dev/null
+--TEST--
+Bug #54454 (substr_compare incorrectly reports equality in some cases)
+--FILE--
+<?php
+var_dump(substr_compare('/', '/asd', 0, 4));
+?>
+--EXPECT--
+int(-3)