FAQ
If a read_dimension handler returns a NULL zval and throws an exception,
the engine will emit an error "Objects used as arrays in post/pre
increment/decrement must return values by reference".

$foo['bar'] = 42;

I know this is because the value is going to be written into, but
IMO it's better to fire the exception at this point, since the engine
error message hides the useful message from the exception (and is
a little misleading in any case).

--Wez.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 1 | next ›
Discussion Overview
groupphp-internals @
categoriesphp
postedApr 29, '04 at 10:26a
activeApr 29, '04 at 10:26a
posts1
users1
websitephp.net

1 user in discussion

Wez Furlong: 1 post

People

Translate

site design / logo © 2022 Grokbase