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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-10-13 11:39 UTC] bjori@php.net
Thanks, fixed.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 08 07:01:31 2024 UTC