I just learned about https://github.com/php/php-tasks/issues/6
Is it the case that we've agreed as a whole to simply make these
conversions (as quiet under-the-hood, should only break is_resource()
type
of changes) without need for individual RFCs? Or is a perfunctory RFC and
vote called for on each conversion?
-Sara
I just learned about https://github.com/php/php-tasks/issues/6
Is it the case that we've agreed as a whole to simply make these
conversions (as quiet under-the-hood, should only breakis_resource()
type
of changes) without need for individual RFCs? Or is a perfunctory RFC and
vote called for on each conversion?
Right, these conversions to "opaque" objects are primarily internal
representation changes that do not affect the API of the extension, modulo
is_resource()
checks. In the future, we may wish to add proper
object-oriented APIs to these objects (they are currently maximally locked
down to allow future extension). Those API additions should go through the
RFC process (or at least mailing list discussions) as they tend to be more
nuanced than dumb resource->object conversions.
Nikita