forked from php/php-src
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of git.php.net:/php-src
* 'master' of git.php.net:/php-src: Change PHP_OS_FAMILY to "Darwin" instead of "Mac" for Darwin based systems (as suggested by Davey) Fixed bug #74679 (Incorrect conversion array with WSDL_CACHE_MEMORY) Use "Mac" instead of "OSX" to identify macOS in PHP_OS_FAMILY Avoid run-time checks performed at compile-time. Fixed performance degradaton introduced in f6ac96b NEWS NEWS Fix bug #74705 for collator_get_sort_key Fixes bug #74705 Wrong ReflectionInfo for Collator::getSortKey() NEWS NEWS Fixes bug #74708 reflection signatures for random_bytes+random_int
- Loading branch information
Showing
10 changed files
with
89 additions
and
33 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--TEST-- | ||
Bug #74705 Wrong reflection on Collator::getSortKey | ||
--SKIPIF-- | ||
<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?> | ||
--FILE-- | ||
<?php | ||
$rm = new ReflectionMethod(Collator::class, 'getSortKey'); | ||
var_dump($rm->getNumberOfParameters()); | ||
var_dump($rm->getNumberOfRequiredParameters()); | ||
|
||
$rf = new ReflectionFunction('collator_get_sort_key'); | ||
var_dump($rf->getNumberOfParameters()); | ||
var_dump($rf->getNumberOfRequiredParameters()); | ||
?> | ||
===DONE=== | ||
--EXPECT-- | ||
int(1) | ||
int(1) | ||
int(2) | ||
int(2) | ||
===DONE=== |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--TEST-- | ||
Bug #74708 Wrong reflection on random_bytes and random_int | ||
--FILE-- | ||
<?php | ||
$rf = new ReflectionFunction('random_bytes'); | ||
var_dump($rf->getNumberOfParameters()); | ||
var_dump($rf->getNumberOfRequiredParameters()); | ||
|
||
$rf = new ReflectionFunction('random_int'); | ||
var_dump($rf->getNumberOfParameters()); | ||
var_dump($rf->getNumberOfRequiredParameters()); | ||
?> | ||
===DONE=== | ||
--EXPECT-- | ||
int(1) | ||
int(1) | ||
int(2) | ||
int(2) | ||
===DONE=== |
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