Commit:    78a9489f6a7326dd0ce0c2baaf37c94a0a85f931
Author:    Xinchen Hui <larue...@php.net>         Wed, 3 Apr 2013 10:12:49 +0800
Parents:   37b20a1bc245c8673ef4f7575f83df8c9ed8b666
Branches:  PHP-5.4

Link:       
http://git.php.net/?p=php-src.git;a=commitdiff;h=78a9489f6a7326dd0ce0c2baaf37c94a0a85f931

Log:
Use new constant replace ugly trick

Changed paths:
  M  ext/standard/tests/streams/bug64433.phpt


Diff:
diff --git a/ext/standard/tests/streams/bug64433.phpt 
b/ext/standard/tests/streams/bug64433.phpt
index a1bf219..87c1c7c 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");
 }
 ?>


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to