mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
GH-13142: add missing test cases (#13235)
* Added missing global cases to test * Update gh13142
This commit is contained in:
parent
6f6289caca
commit
ea3c541640
1 changed files with 10 additions and 0 deletions
|
@ -10,6 +10,10 @@ $$a;
|
||||||
$a = "test\0";
|
$a = "test\0";
|
||||||
$$a;
|
$$a;
|
||||||
|
|
||||||
|
$GLOBALS["test\0test"];
|
||||||
|
$GLOBALS["\0test"];
|
||||||
|
$GLOBALS["test\0"];
|
||||||
|
|
||||||
compact("a\0b");
|
compact("a\0b");
|
||||||
compact("\0ab");
|
compact("\0ab");
|
||||||
compact("ab\0");
|
compact("ab\0");
|
||||||
|
@ -22,6 +26,12 @@ Warning: Undefined variable $%0test in %s on line %d
|
||||||
|
|
||||||
Warning: Undefined variable $test%0 in %s on line %d
|
Warning: Undefined variable $test%0 in %s on line %d
|
||||||
|
|
||||||
|
Warning: Undefined global variable $test%0test in %s on line %d
|
||||||
|
|
||||||
|
Warning: Undefined global variable $%0test in %s on line %d
|
||||||
|
|
||||||
|
Warning: Undefined global variable $test%0 in %s on line %d
|
||||||
|
|
||||||
Warning: compact(): Undefined variable $a%0b in %s on line %d
|
Warning: compact(): Undefined variable $a%0b in %s on line %d
|
||||||
|
|
||||||
Warning: compact(): Undefined variable $%0ab in %s on line %d
|
Warning: compact(): Undefined variable $%0ab in %s on line %d
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue