Doc #66421 [Opn->Csd]: InvalidArgumentException intro incorrect

From: Date: Sat, 01 Feb 2014 09:11:56 +0000
Subject: Doc #66421 [Opn->Csd]: InvalidArgumentException intro incorrect
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-10916@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=66421&edit=1 ID: 66421 Updated by: krakjoe@php.net Reported by: mgcummings at yahoo dot com Summary: InvalidArgumentException intro incorrect -Status: Open +Status: Closed Type: Documentation Problem Package: SPL related PHP Version: Irrelevant -Assigned To: +Assigned To: krakjoe Block user comment: N Private report: N New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2014-02-01 09:11:39] 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-01-05 19:17:02] 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. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=66421&edit=1

« previous php.doc.bugs (#10916) next »