Re: cvs: php-src /ext/spl spl_fastarray.c
| From: | Antony Dovgal | 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:
Do you think it's more applicable in this case? (I have no idea myself) -- Wbr, Antony DovgalWhy not use OverflowException here?+ if (!offset) { + /* '$array[] = value' syntax is not supported */ + zend_throw_exception(spl_ce_RuntimeException, "Indexinvalid or out of range", 0 TSRMLS_CC);