> That would satisfy some of the requested feature, but try
> calling ifsetor($my_array['bad key'],
> functionWithSideEffects()).

That could be circumvented (somewhat hackishly, I concede) by
recoding a new function and passing the second arg as the string
"functionWithSideEffects" and using the dereferencing () trick. 


Although, I did indeed overlook the issue of not evaluating the
second arg unnecessarily. Tricky.

To quote from the classics: D'oh!

Regards,

Cris


        
        
                
___________________________________________________________ALL-NEW Yahoo! Messenger - 
sooooo many all-new ways to express yourself http://uk.messenger.yahoo.com

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to