File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -4,11 +4,12 @@ Bug #61367: open_basedir bypass in libxml RSHUTDOWN: read test
4
4
<?php if (!extension_loaded ('dom ' )) echo 'skip ' ; ?>
5
5
--INI--
6
6
open_basedir=.
7
- ; Suppress spurious "Trying to get property of non-object" notices
8
7
error_reporting=E_ALL & ~E_NOTICE
9
8
--FILE--
10
9
<?php
11
-
10
+ /*
11
+ * Note: Using error_reporting=E_ALL & ~E_NOTICE to supress "Trying to get property of non-object" notices.
12
+ */
12
13
class StreamExploiter {
13
14
public function stream_close ( ) {
14
15
$ doc = new DOMDocument ;
Original file line number Diff line number Diff line change @@ -4,8 +4,6 @@ Bug #61367: open_basedir bypass in libxml RSHUTDOWN: write test
4
4
<?php if (!extension_loaded ('dom ' )) echo 'skip ' ; ?>
5
5
--INI--
6
6
open_basedir=.
7
- ; Suppress spurious "Trying to get property of non-object" notices
8
- error_reporting=E_ALL & ~E_NOTICE
9
7
--FILE--
10
8
<?php
11
9
You can’t perform that action at this time.
0 commit comments