Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:73814 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 7621 invoked from network); 27 Apr 2014 12:00:44 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Apr 2014 12:00:44 -0000 Authentication-Results: pb1.pair.com smtp.mail=php@thekid.de; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=php@thekid.de; sender-id=unknown Received-SPF: error (pb1.pair.com: domain thekid.de from 212.227.126.130 cause and error) X-PHP-List-Original-Sender: php@thekid.de X-Host-Fingerprint: 212.227.126.130 mout.kundenserver.de Received: from [212.227.126.130] ([212.227.126.130:57100] helo=mout.kundenserver.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8D/C1-16755-B61FC535 for ; Sun, 27 Apr 2014 08:00:43 -0400 Received: from oxbsltgw09.schlund.de (oxbsltgw09.schlund.de [172.19.249.26]) by mrelayeu.kundenserver.de (node=mreue006) with ESMTP (Nemesis) id 0LrUzJ-1X1Wjy1ThN-013M44; Sun, 27 Apr 2014 14:00:39 +0200 Date: Sun, 27 Apr 2014 14:00:39 +0200 (CEST) Reply-To: "php@thekid.de" To: internals@lists.php.net Message-ID: <1005082480.406481.1398600039315.open-xchange@email.1und1.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Priority: 3 Importance: Medium X-Mailer: Open-Xchange Mailer v7.4.2-Rev18 X-Provags-ID: V02:K0:kicNKJkshuJxFV2lBI4F4q3Czl4sflQIqGU759Izbx5 kRB5UrKDe+cbk+0ucvEBtPq44BqLKbFbP1koErylleO/N0jrhZ 1iKDiAm5LolZlSchNwUxKfNL5m1H60N2bk9zNdkQaCivunJ4mW 6jffJaw2YYN6865hbHBo/9UhojUESdyL28VNITpx6WcMBSHirN 1nUxI11Qr/UFXtks9cBWu/DeHL3wVYNTlKVAL3dQfA3cpFlZoK 07GyMrGf8bMMCBZCK8cGqC+XNp9wu3lDltrS2oRQiCAhiVaJ1a /FAZSy5ST97yFxZlWllzKKWybl+je9AI/6zlvrUB2Wh8v/xA8Y qPuDv0m8HyFWEiwRv8+hLRgcUkQ51aOHqSUawf2KPJysBF+mVE ZoXCLnPkWyGWHiMrKOfiLuTl+aCMFGq9Qw= Subject: RFC: Catchable "call to a member function of a non-object" From: php@thekid.de ("php@thekid.de") 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: =C2=A0 https://wiki.php.net/rfc/catchable-call-to-member-of-non-object =C2=A0 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