Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add undefined offset notice and test
- Loading branch information
1 parent
e1ec599
commit 0d66933
Showing
3 changed files
with
14 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
|
||
Notice: Undefined offset: 100 in {{CWD}}/test/code/test_undef_index.php on line 6 | ||
OK |
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,8 @@ | ||
<?php | ||
|
||
error_reporting(E_ALL); | ||
|
||
$wp_filter = []; | ||
print $wp_filter[100]["hey"]; | ||
|
||
print "OK\n"; |