svn: /phpdoc/en/trunk/reference/curl/functions/ curl-errno.xml curl-error.xml curl-version.xml

From: Date: Wed, 03 Feb 2010 13:23:28 +0000
Subject: svn: /phpdoc/en/trunk/reference/curl/functions/ curl-errno.xml curl-error.xml curl-version.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-5980@lists.php.net to get a copy of this message
rquadling Wed, 03 Feb 2010 13:23:28 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=294379 Log: W/S tabs Changed paths: U phpdoc/en/trunk/reference/curl/functions/curl-errno.xml U phpdoc/en/trunk/reference/curl/functions/curl-error.xml U phpdoc/en/trunk/reference/curl/functions/curl-version.xml Modified: phpdoc/en/trunk/reference/curl/functions/curl-errno.xml =================================================================== --- phpdoc/en/trunk/reference/curl/functions/curl-errno.xml 2010-02-03 13:22:27 UTC (rev 294378) +++ phpdoc/en/trunk/reference/curl/functions/curl-errno.xml 2010-02-03 13:23:28 UTC (rev 294379) @@ -52,7 +52,7 @@ // Check if any error occured if(curl_errno($ch)) { - echo 'Curl error: ' . curl_error($ch); + echo 'Curl error: ' . curl_error($ch); } // Close handle Modified: phpdoc/en/trunk/reference/curl/functions/curl-error.xml =================================================================== --- phpdoc/en/trunk/reference/curl/functions/curl-error.xml 2010-02-03 13:22:27 UTC (rev 294378) +++ phpdoc/en/trunk/reference/curl/functions/curl-error.xml 2010-02-03 13:23:28 UTC (rev 294379) @@ -48,11 +48,11 @@ if(curl_exec($ch) === false) { - echo 'Curl error: ' . curl_error($ch); + echo 'Curl error: ' . curl_error($ch); } else { - echo 'Operation completed without any errors'; + echo 'Operation completed without any errors'; } // Close handle Modified: phpdoc/en/trunk/reference/curl/functions/curl-version.xml =================================================================== --- phpdoc/en/trunk/reference/curl/functions/curl-version.xml 2010-02-03 13:22:27 UTC (rev 294378) +++ phpdoc/en/trunk/reference/curl/functions/curl-version.xml 2010-02-03 13:23:28 UTC (rev 294379) @@ -106,17 +106,17 @@ // These are the bitfields that can be used // to check for features in the curl build $bitfields = Array( - 'CURL_VERSION_IPV6', - 'CURL_VERSION_KERBEROS4', - 'CURL_VERSION_SSL', - 'CURL_VERSION_LIBZ' - ); + 'CURL_VERSION_IPV6', + 'CURL_VERSION_KERBEROS4', + 'CURL_VERSION_SSL', + 'CURL_VERSION_LIBZ' + ); foreach($bitfields as $feature) { - echo $feature . ($version['features'] & constant($feature) ? ' matches' : ' does not match'); - echo PHP_EOL; + echo $feature . ($version['features'] & constant($feature) ? ' matches' : ' does not match'); + echo PHP_EOL; } ?> ]]>

« previous php.doc.cvs (#5980) next »