Re: cvs: php-src /ext/spl spl_fastarray.c

From: Date: Sat, 07 Jun 2008 20:14:43 +0000
Subject: Re: cvs: php-src /ext/spl spl_fastarray.c
References: 1 2  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-50319@lists.php.net to get a copy of this message
On 07.06.2008 22:59, Marcus Boerger wrote:
+       if (!offset) {
+               /* '$array[] = value' syntax is not supported */
+               zend_throw_exception(spl_ce_RuntimeException, "Index
invalid or out of range", 0 TSRMLS_CC);
Why not use OverflowException here?
Do you think it's more applicable in this case? (I have no idea myself) -- Wbr, Antony Dovgal

« previous php.cvs (#50319) next »