rfc:propertygetsetsyntax-implementation-details

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
rfc:propertygetsetsyntax-implementation-details [2013/01/17 13:43] – Changed notes on guarding mechanism cpriestrfc:propertygetsetsyntax-implementation-details [2017/09/22 13:28] (current) – external edit 127.0.0.1
Line 43: Line 43:
 </code> </code>
  
 +The ''zend_function''s of the accessors have the ''ZEND_ACC_ACCESSOR'' flag set.
  
 ==== Compilation Changes ==== ==== Compilation Changes ====
Line 64: Line 65:
  
  
-A new function flag was added ZEND_ACC_CALL_GUARD which flags a function as "being called and guarded," this was necessary to allow for parent+A new function flag was added ''ZEND_ACC_CALL_GUARD'' which flags a function as "being called and guarded," this was necessary to allow for parent
 accessors being able to be properly called. In the case of recursion with accessors a warning will be emitted if recursion is detected and that  accessors being able to be properly called. In the case of recursion with accessors a warning will be emitted if recursion is detected and that 
 recursion is not called from the context of the validly scoped accessor. recursion is not called from the context of the validly scoped accessor.
rfc/propertygetsetsyntax-implementation-details.1358430187.txt.gz · Last modified: 2017/09/22 13:28 (external edit)