|  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
From manual page:
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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2014-02-01 09:11 UTC]
Automatic comment from SVN on behalf of krakjoe
Log: fix #66421 clarify wording
 [2014-02-01 09:11 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: krakjoe
 [2014-02-01 09:11 UTC]
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

 For Windows:
Thank you for the report, and for helping us make PHP better.

 [2020-02-07 06:08 UTC]
Automatic comment on behalf of krakjoe
Log: fix #66421 clarify wording
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Thu Oct 28 00:03:33 2021 UTC