Re: Add get_mangled_object_properties()

From: Date: Tue, 14 May 2019 14:29:28 +0000
Subject: Re: Add get_mangled_object_properties()
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-105701@lists.php.net to get a copy of this message
I like the explicitness of the proposal, but only if performance is as good as (array) cast. One of the reasons we use casting to array in libraries is not only to access all properties at once, but also because it's fast as it's implemented as an opcode and not a function call. Would this function come with its own opcode, like strlen() / gettype() / etc.? Ben

« previous php.internals (#105701) next »