On Mon, Mar 23, 2015 at 12:31 PM, Juan Basso <jrba...@gmail.com> wrote:
> Maybe you can implement the __sleep method and just return the documented
> attributes (message, code, file, line).
>
> Not perfect, but probably more useful than throw an exception, specially if
> the exception is something that is the attribute of some object that is
> being serialized.

Well, can someone explain me why some code would need to serialize
exception in the 1st place?

Cheers,
-- 
Pierre

@pierrejoye | http://www.libgd.org

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

Reply via email to