diff options
author | Xinchen Hui <laruence@php.net> | 2013-04-03 10:12:49 +0800 |
---|---|---|
committer | Xinchen Hui <laruence@php.net> | 2013-04-03 10:12:49 +0800 |
commit | 78a9489f6a7326dd0ce0c2baaf37c94a0a85f931 (patch) | |
tree | c2fb58725de599a00d40d63fa611a42cac8f16e1 /ext | |
parent | 37b20a1bc245c8673ef4f7575f83df8c9ed8b666 (diff) | |
download | php-git-78a9489f6a7326dd0ce0c2baaf37c94a0a85f931.tar.gz |
Use new constant replace ugly trick
Diffstat (limited to 'ext')
-rw-r--r-- | ext/standard/tests/streams/bug64433.phpt | 5 |
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"); } ?> |