RFC: Catchable "call to a member function of a non-object"
| From: | php@thekid.de | Date: | Sun, 27 Apr 2014 12:00:39 +0000 |
| Subject: | RFC: Catchable "call to a member function of a non-object" | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-73814@lists.php.net to get a copy of this message | ||
Hello everyone,
as per the RFC process I'd like to start a discussion on the RFC
I've put up on the RFC Wiki:
https://wiki.php.net/rfc/catchable-call-to-member-of-non-object
RFC: Catchable "call to a member function of a non-object", 1.0
The essence of this pull request is that it converts this fatal error
into E_RECOVERABLE_ERRORs. Framework authors may choose to convert
these into exceptions, as they already do with argument type mismatches.
Feedback is welcome!
- Timm