forked from php/php-src
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'php-8.3.17' into was-8.3.x
Tag for php-8.3.17
- Loading branch information
Showing
83 changed files
with
2,700 additions
and
1,421 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
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,26 @@ | ||
--TEST-- | ||
GH-17214: Relax final+private warning for trait methods with inherited final | ||
--FILE-- | ||
<?php | ||
|
||
trait MyTrait | ||
{ | ||
final protected function someMethod(): void {} | ||
} | ||
|
||
class Test | ||
{ | ||
use MyTrait { | ||
someMethod as private anotherMethod; | ||
} | ||
|
||
public function __construct() | ||
{ | ||
$this->anotherMethod(); | ||
} | ||
} | ||
|
||
?> | ||
===DONE=== | ||
--EXPECT-- | ||
===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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
--TEST-- | ||
GH-16886 (ini_parse_quantity() fails to emit warning for 0x+0) | ||
--FILE-- | ||
<?php | ||
echo ini_parse_quantity('0x 0'), "\n"; | ||
echo ini_parse_quantity('0x+0'), "\n"; | ||
echo ini_parse_quantity('0x-0'), "\n"; | ||
echo ini_parse_quantity('0b 0'), "\n"; | ||
echo ini_parse_quantity('0b+0'), "\n"; | ||
echo ini_parse_quantity('0b-0'), "\n"; | ||
echo ini_parse_quantity('0o 0'), "\n"; | ||
echo ini_parse_quantity('0o+0'), "\n"; | ||
echo ini_parse_quantity('0o-0'), "\n"; | ||
?> | ||
--EXPECTF-- | ||
Warning: Invalid quantity "0x 0": no digits after base prefix, interpreting as "0" for backwards compatibility in %s on line %d | ||
0 | ||
|
||
Warning: Invalid quantity "0x+0": no digits after base prefix, interpreting as "0" for backwards compatibility in %s on line %d | ||
0 | ||
|
||
Warning: Invalid quantity "0x-0": no digits after base prefix, interpreting as "0" for backwards compatibility in %s on line %d | ||
0 | ||
|
||
Warning: Invalid quantity "0b 0": no digits after base prefix, interpreting as "0" for backwards compatibility in %s on line %d | ||
0 | ||
|
||
Warning: Invalid quantity "0b+0": no digits after base prefix, interpreting as "0" for backwards compatibility in %s on line %d | ||
0 | ||
|
||
Warning: Invalid quantity "0b-0": no digits after base prefix, interpreting as "0" for backwards compatibility in %s on line %d | ||
0 | ||
|
||
Warning: Invalid quantity "0o 0": no digits after base prefix, interpreting as "0" for backwards compatibility in %s on line %d | ||
0 | ||
|
||
Warning: Invalid quantity "0o+0": no digits after base prefix, interpreting as "0" for backwards compatibility in %s on line %d | ||
0 | ||
|
||
Warning: Invalid quantity "0o-0": no digits after base prefix, interpreting as "0" for backwards compatibility in %s on line %d | ||
0 |
Oops, something went wrong.