mirror of https://github.com/php/php-src
Browse Source
$fields = array('foo' => 'bar');
curl_setopt($ch, CURLOPT_POSTFIELDS, $fields);
curl_exec($ch);
as opposed to :
curl_setopt($ch, CURLOPT_POSTFIELDS, array('foo' => 'bar'));
you'll get a segv or no results, depending on the mood and cycle of the
moon.
PHP-5.0
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue