summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2013-04-03 10:12:49 +0800
committerXinchen Hui <laruence@php.net>2013-04-03 10:12:49 +0800
commit78a9489f6a7326dd0ce0c2baaf37c94a0a85f931 (patch)
treec2fb58725de599a00d40d63fa611a42cac8f16e1 /ext
parent37b20a1bc245c8673ef4f7575f83df8c9ed8b666 (diff)
downloadphp-git-78a9489f6a7326dd0ce0c2baaf37c94a0a85f931.tar.gz
Use new constant replace ugly trick
Diffstat (limited to 'ext')
-rw-r--r--ext/standard/tests/streams/bug64433.phpt5
1 files changed, 1 insertions, 4 deletions
diff --git a/ext/standard/tests/streams/bug64433.phpt b/ext/standard/tests/streams/bug64433.phpt
index a1bf2196af..87c1c7cfb4 100644
--- a/ext/standard/tests/streams/bug64433.phpt
+++ b/ext/standard/tests/streams/bug64433.phpt
@@ -9,10 +9,7 @@ if(!$res) {
die("skip could not open cli server script");
}
-ob_start();
-phpinfo();
-$curlwrappers = preg_match("/with-curlwrappers/", ob_get_clean());
-if ($curlwrappers) {
+if (CURL_WRAPPERS_ENABLE) {
die("skip curl wrappers used");
}
?>