php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #42951 Spelling mistake
Submitted: 2007-10-12 14:43 UTC Modified: 2007-10-13 11:39 UTC
From: corre dot t at gmail dot com Assigned:
Status: Closed Package: cURL related
PHP Version: 5.2.4 OS: Windows XP
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: corre dot t at gmail dot com
New email:
PHP Version: OS:

 

 [2007-10-12 14:43 UTC] corre dot t at gmail dot com
Description:
------------
There is a spelling mistake in an error of PHP.
It write interger instead of integer.

Warning: curl_setopt_array() [function.curl-setopt-array]: Array keys must be CURLOPT constants or equivalent interger values. in ...

Reproduce code:
---------------
	$CURLOPT = array(
		'CURLOPT_URL' => 'https://www.creditmutuel.fr/cmm/fr/specif/image/logo_fede_web.jpg',
		'CURLOPT_HEADER' => 'false',
		'CURLOPT_FILE' => $fp,
	);

instead of:

	$CURLOPT = array(
		CURLOPT_URL => 'https://www.creditmutuel.fr/cmm/fr/specif/image/logo_fede_web.jpg',
		CURLOPT_HEADER => 'false',
		CURLOPT_FILE => $fp,
	);

Expected result:
----------------
Warning: curl_setopt_array() [function.curl-setopt-array]: Array keys must be CURLOPT constants or equivalent integer values. in ...

Actual result:
--------------
Warning: curl_setopt_array() [function.curl-setopt-array]: Array keys must be CURLOPT constants or equivalent interger values. in ...

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-10-13 11:39 UTC] bjori@php.net
Thanks, fixed.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Apr 26 00:01:27 2025 UTC