summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzoe slattery <zoe@php.net>2012-05-19 16:13:25 +0100
committerzoe slattery <zoe@php.net>2012-05-19 16:33:36 +0100
commit778d69ddfe25fae5476e66b6b2ce3b0b8ade68bb (patch)
tree19e3c57a2afcf694ea591b858e5ea3d62d08ec18
parent79d52503a40e2efba4f27514373eb6cc7273d4ae (diff)
downloadphp-git-778d69ddfe25fae5476e66b6b2ce3b0b8ade68bb.tar.gz
Fix: 62067 Moved comments to FILE section
-rw-r--r--ext/libxml/tests/bug61367-read.phpt5
-rw-r--r--ext/libxml/tests/bug61367-write.phpt2
2 files changed, 3 insertions, 4 deletions
diff --git a/ext/libxml/tests/bug61367-read.phpt b/ext/libxml/tests/bug61367-read.phpt
index 3deecfc50f..94da3d8481 100644
--- a/ext/libxml/tests/bug61367-read.phpt
+++ b/ext/libxml/tests/bug61367-read.phpt
@@ -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;
diff --git a/ext/libxml/tests/bug61367-write.phpt b/ext/libxml/tests/bug61367-write.phpt
index aeed688ff9..e18b07149a 100644
--- a/ext/libxml/tests/bug61367-write.phpt
+++ b/ext/libxml/tests/bug61367-write.phpt
@@ -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