The property accessor functionality is done and is detailed here: https://wiki.php.net/rfc/propertygetsetsyntax-as-implemented
Core Patch: http://www.clintpriest.com/patches/php-core/accessors/2.4.diff
The core patch encompasses the entire original RFC and the as-implemented includes implementation details and edge cases not defined by the original RFC.
Most changes are in zend_compile, zend_object_handlers and zend_language_scanner.
Thanks,
-Clint
Because Zend/zend_language_scanner.c is a generated file, you could exclude
it from your diff, and end up with a much smaller patch. Smaller patches
are more appealing :)
The property accessor functionality is done and is detailed here:
https://wiki.php.net/rfc/propertygetsetsyntax-as-implementedCore Patch: http://www.clintpriest.com/patches/php-core/accessors/2.4.diff
The core patch encompasses the entire original RFC and the as-implemented
includes implementation details and edge cases not defined by the original
RFC.Most changes are in zend_compile, zend_object_handlers and
zend_language_scanner.Thanks,
-Clint
Okay, that's been removed from the patch. :)
From: John LeSueur [mailto:john.lesueur@gmail.com]
Sent: Friday, February 03, 2012 7:54 AM
To: Clint M Priest
Cc: internals@lists.php.net
Subject: Re: [PHP-DEV] [PATCH] Property Getters/Setters (v2.4) for review
Because Zend/zend_language_scanner.c is a generated file, you could exclude it from your diff, and end up with a much smaller patch. Smaller patches are more appealing :)
The property accessor functionality is done and is detailed here: https://wiki.php.net/rfc/propertygetsetsyntax-as-implemented
Core Patch: http://www.clintpriest.com/patches/php-core/accessors/2.4.diff
The core patch encompasses the entire original RFC and the as-implemented includes implementation details and edge cases not defined by the original RFC.
Most changes are in zend_compile, zend_object_handlers and zend_language_scanner.
Thanks,
-Clint