Re: RFC: Deprecate json_encode() on classes marked as non-serializable

From: Date: Thu, 05 Sep 2024 10:04:37 +0000
Subject: Re: RFC: Deprecate json_encode() on classes marked as non-serializable
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-125436@lists.php.net to get a copy of this message
Hello Rob, > To add to this, we apparently use json_encode at work to serialize custom > exceptions, which appears to work. This RFC would break that, I think. > > Exception is not marked as ZEND_ACC_NOT_SERIALIZABLE and would not be affected. Philip

« previous php.internals (#125436) next »