]> granicus.if.org Git - php/commitdiff
Fix: 62067 Moved comments to FILE section
authorzoe slattery <zoe@php.net>
Sat, 19 May 2012 15:13:25 +0000 (16:13 +0100)
committerzoe slattery <zoe@php.net>
Sat, 19 May 2012 15:33:36 +0000 (16:33 +0100)
ext/libxml/tests/bug61367-read.phpt
ext/libxml/tests/bug61367-write.phpt

index 3deecfc50fcdbfd68e961ccee73cc19d5ae84098..94da3d8481917fbfd77011d37cf182192e4c5f45 100644 (file)
@@ -4,11 +4,12 @@ Bug #61367: open_basedir bypass in libxml RSHUTDOWN: read test
 <?php if(!extension_loaded('dom')) echo 'skip'; ?>
 --INI--
 open_basedir=.
-; Suppress spurious "Trying to get property of non-object" notices
 error_reporting=E_ALL & ~E_NOTICE
 --FILE--
 <?php
-
+/*
+ * Note: Using error_reporting=E_ALL & ~E_NOTICE to supress "Trying to get property of non-object" notices.
+ */
 class StreamExploiter {
        public function stream_close (  ) {
                $doc = new DOMDocument;
index aeed688ff9b20cb19927deae2800bf9046166ea5..e18b07149a7cb30cf55019d728e66b56d4d16617 100644 (file)
@@ -4,8 +4,6 @@ Bug #61367: open_basedir bypass in libxml RSHUTDOWN: write test
 <?php if(!extension_loaded('dom')) echo 'skip'; ?>
 --INI--
 open_basedir=.
-; Suppress spurious "Trying to get property of non-object" notices
-error_reporting=E_ALL & ~E_NOTICE
 --FILE--
 <?php