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
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: mgcummings at yahoo dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 01 19:01:37 2025 UTC