Re: Re: More valuable error message handling
| From: | Michael Wallner | Date: | Tue, 18 Jul 2006 10:38:39 +0000 |
| Subject: | Re: Re: More valuable error message handling | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-24458@lists.php.net to get a copy of this message | ||
Ilia Alshanetsky wrote:
Looks good to me, although I'd prefer you returned an associated array rather then an object.What for do we have object dereferencing then? As gimmick or buzzword? $err = error_get_last(); echo $err["message"]; vs. echo error_get_last()->message; One can still cast the stdClass instance to an array. -- Michael