forked from php/php-src
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/str_size_and_int64_56_backport' …
…into str_size_and_int64 * origin/str_size_and_int64_56_backport: (58 commits) fix datatypes fix zpp fixed prototype fix test - doesn't seem to produce warning Fix test - on CI somebody could create a process in the meantime fix windows build Fix #66942: openssl_seal() memory leak ws fix Fix #66942: openssl_seal() memory leak ws fix Fix null byte in LDAP bindings Fix bug #66171: better handling of symlinks Fix null byte in LDAP bindings Fix bug #66171: better handling of symlinks Fix null byte in LDAP bindings Fix bug #66171: better handling of symlinks fix crash in MINFO when no mysqlnd plugins are loaded Add test backported some ext/intl tests from 5.6 into 5.4 test fixes for ICU 53.1 ... Conflicts: ext/mysqlnd/mysqlnd_result.c
- Loading branch information
Showing
140 changed files
with
5,465 additions
and
2,674 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--TEST-- | ||
Bug #66015 (wrong array indexing in class's static property) | ||
--FILE-- | ||
<?php | ||
class Test | ||
{ | ||
const FIRST = 1; | ||
const SECOND = 2; | ||
const THIRD = 3; | ||
|
||
protected static $array = [ | ||
self::FIRST => 'first', | ||
'second', | ||
'third' | ||
]; | ||
|
||
public function __construct() | ||
{ | ||
var_export(self::$array); | ||
} | ||
} | ||
|
||
$test = new Test(); | ||
?> | ||
--EXPECTF-- | ||
array ( | ||
1 => 'first', | ||
2 => 'second', | ||
3 => 'third', | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--TEST-- | ||
Bug #66660 (Composer.phar install/update fails) | ||
--STDIN-- | ||
<?php __CLASS__ ?> | ||
--FILE-- | ||
<?php | ||
file_put_contents(__DIR__."/bug66660.tmp.php", "<?php __CLASS__ ?>"); | ||
echo php_strip_whitespace(__DIR__."/bug66660.tmp.php"); | ||
?> | ||
--CLEAN-- | ||
<?php unlink(__DIR__."/bug66660.tmp.php"); ?> | ||
--EXPECT-- | ||
<?php __CLASS__ ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.