mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-09-04 06:46:31 +00:00
Wrap option string values in quotes when displaying diagnostic output
This commit is contained in:
+1
-1
@@ -1701,7 +1701,7 @@ class Curl extends BaseCurl
|
||||
}
|
||||
|
||||
if (is_string($value)) {
|
||||
echo ' ' . $value . "\n";
|
||||
echo ' "' . $value . '"' . "\n";
|
||||
} elseif (is_int($value)) {
|
||||
echo ' ' . $value;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user