php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #66421 InvalidArgumentException intro incorrect
Submitted: 2014-01-05 19:17 UTC Modified: 2014-02-01 09:11 UTC
From: mgcummings at yahoo dot com Assigned: krakjoe (profile)
Status: Closed Package: SPL related
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2014-01-05 19:17 UTC] mgcummings at yahoo dot com
Description:
------------
---
From manual page: http://www.php.net/class.invalidargumentexception
---
The current introduction reads:
Exception thrown if an argument does not match with the expected value.

That would suggest that it's the same as a \DomainException() which it is NOT. It should read:
Exception thrown if an argument does not match with the expected type.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-02-01 09:11 UTC] krakjoe@php.net
Automatic comment from SVN on behalf of krakjoe
Revision: http://svn.php.net/viewvc/?view=revision&revision=332764
Log: fix #66421 clarify wording
 [2014-02-01 09:11 UTC] krakjoe@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: krakjoe
 [2014-02-01 09:11 UTC] krakjoe@php.net
The fix for this bug has been committed.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.


 [2020-02-07 06:08 UTC] phpdocbot@php.net
Automatic comment on behalf of krakjoe
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=34db5b5195122c47ba9460ced85afcd711df5cc6
Log: fix #66421 clarify wording
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Mon Nov 23 23:01:23 2020 UTC