Skip to content

Commit 5fcba32

Browse files
committed
Add canonicalization test
1 parent a1930d6 commit 5fcba32

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
--TEST--
2+
$GLOBALS should have canonicalized keys
3+
--FILE--
4+
<?php
5+
6+
${1} = 42;
7+
var_dump($GLOBALS[1]);
8+
9+
?>
10+
--EXPECT--
11+
int(42)

0 commit comments

Comments
 (0)