summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2016-11-01 20:13:53 +0100
committerChristoph M. Becker <cmbecker69@gmx.de>2016-11-01 20:13:53 +0100
commit2eacb53fc44ce4a0f16113eec96dfc0bb5ea52b6 (patch)
tree36ac1ec0698c85fc0f354a7c0141209a4354fb49 /ext
parentef75ddd4f98e0155e698387ab7ef052a0174278a (diff)
downloadphp-git-2eacb53fc44ce4a0f16113eec96dfc0bb5ea52b6.tar.gz
Fix #73436: Setting allow_url_fopen to Off makes several tests fail
We make sure that these tests run with allow_url_fopen=1.
Diffstat (limited to 'ext')
-rw-r--r--ext/standard/tests/file/bug43008.phpt2
-rw-r--r--ext/standard/tests/streams/bug40459.phpt2
-rw-r--r--ext/standard/tests/streams/bug71323.phpt2
3 files changed, 6 insertions, 0 deletions
diff --git a/ext/standard/tests/file/bug43008.phpt b/ext/standard/tests/file/bug43008.phpt
index d2e3efdb58..3c9411d329 100644
--- a/ext/standard/tests/file/bug43008.phpt
+++ b/ext/standard/tests/file/bug43008.phpt
@@ -4,6 +4,8 @@ Bug #43008 (php://filter uris ignore url encoded filternames and can't handle sl
<?php
if (!extension_loaded("iconv")) die("skip iconv extension not available");
?>
+--INI--
+allow_url_fopen=1
--FILE--
<?php
$url = b""
diff --git a/ext/standard/tests/streams/bug40459.phpt b/ext/standard/tests/streams/bug40459.phpt
index 8ee4363ed9..902a1f9111 100644
--- a/ext/standard/tests/streams/bug40459.phpt
+++ b/ext/standard/tests/streams/bug40459.phpt
@@ -1,5 +1,7 @@
--TEST--
bug 40459 - Test whether the constructor of the user-space stream wrapper is called when stream functions are called
+--INI--
+allow_url_fopen=1
--FILE--
<?php
// Test whether the constructor of the user-space stream wrapper is called when stream functions are called
diff --git a/ext/standard/tests/streams/bug71323.phpt b/ext/standard/tests/streams/bug71323.phpt
index dfe0bd8afe..29d784719f 100644
--- a/ext/standard/tests/streams/bug71323.phpt
+++ b/ext/standard/tests/streams/bug71323.phpt
@@ -1,5 +1,7 @@
--TEST--
Bug #71323: Output of stream_get_meta_data can be falsified by its input
+--INI--
+allow_url_fopen=1
--FILE--
<?php
$file = 'data:text/plain;z=y;uri=eviluri;mediatype=wut?;mediatype2=hello,somedata';