rfc:catchable-call-to-member-of-non-object

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
Next revisionBoth sides next revision
rfc:catchable-call-to-member-of-non-object [2014/04/29 07:29] – Reference Return type hinting RFC thekidrfc:catchable-call-to-member-of-non-object [2014/07/25 18:35] – Voting ends July 30th thekid
Line 4: Line 4:
   * Date: 2014-04-26   * Date: 2014-04-26
   * Author: Timm Friebe <thekid@php.net>   * Author: Timm Friebe <thekid@php.net>
-  * Status: Under Discussion+  * Status: Voting
   * First Published at: https://wiki.php.net/rfc/catchable-call-to-member-of-non-object   * First Published at: https://wiki.php.net/rfc/catchable-call-to-member-of-non-object
  
Line 113: Line 113:
   - In case the script continues, all the oplines are skipped until we find the ''FCALL_BY_NAME'' opcode. This is comparable to jumping forward just as, e.g., the ''ZEND_JMP'' instruction would.   - In case the script continues, all the oplines are skipped until we find the ''FCALL_BY_NAME'' opcode. This is comparable to jumping forward just as, e.g., the ''ZEND_JMP'' instruction would.
   - The return value is set to ''ZVAL_NULL()''.   - The return value is set to ''ZVAL_NULL()''.
-  - The control is handed back to the executor, which then continutes with the ''ASSIGN'' opcode.+  - The control is handed back to the executor, which then continues with the ''ASSIGN'' opcode 
 +  - The engine is again in full control; if an exception was raised by the handler, that leads to the known behavior.
  
 ===== Other Impact ===== ===== Other Impact =====
Line 142: Line 143:
  
   * Also allowing to catch and handle other fatal errors   * Also allowing to catch and handle other fatal errors
 +
 +===== Vote =====
 +Voting started 2014-06-29 afresh and ends 2014-07-30. 
 +
 +<doodle title="Catchable Call to a member function bar() on a non-object" auth="thekid" voteType="single" closed="false">
 +   * Yes
 +   * No
 +</doodle>
 +
  
 ===== References ===== ===== References =====
rfc/catchable-call-to-member-of-non-object.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1