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 revisionBoth sides next revision
rfc:catchable-call-to-member-of-non-object [2014/04/29 07:26] – Add inner workings thekidrfc:catchable-call-to-member-of-non-object [2014/04/29 07:29] – Reference Return type hinting RFC thekid
Line 114: Line 114:
   - 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 continutes with the ''ASSIGN'' opcode.
- 
  
 ===== Other Impact ===== ===== Other Impact =====
Line 149: Line 148:
   * HHVM [[https://github.com/facebook/hhvm/blob/master/hphp/test/quick/method-non-object.php.expectf|throws a BadMethodCallException]] in these situations    * HHVM [[https://github.com/facebook/hhvm/blob/master/hphp/test/quick/method-non-object.php.expectf|throws a BadMethodCallException]] in these situations 
   * [[http://news.php.net/php.internals/73814|Mailing list announcement]]   * [[http://news.php.net/php.internals/73814|Mailing list announcement]]
 +  * [[rfc/returntypehinting|Return type hinting RFC]] - related work: Some fatal errors can be prevented by setting return types.
rfc/catchable-call-to-member-of-non-object.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1