Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:61279 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 51158 invoked from network); 16 Jul 2012 09:25:14 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Jul 2012 09:25:14 -0000 Authentication-Results: pb1.pair.com header.from=lang@b1-systems.de; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=lang@b1-systems.de; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain b1-systems.de from 217.11.58.35 cause and error) X-PHP-List-Original-Sender: lang@b1-systems.de X-Host-Fingerprint: 217.11.58.35 mx1.b1-systems.de Linux 2.6 Received: from [217.11.58.35] ([217.11.58.35:50026] helo=mx1.b1-systems.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 01/B8-20866-8FDD3005 for ; Mon, 16 Jul 2012 05:25:13 -0400 Received: from [192.168.1.17] (cable-82-119-10-94.cust.telecolumbus.net [82.119.10.94]) by mx1.b1-systems.de (Postfix) with ESMTPSA id 952714075 for ; Mon, 16 Jul 2012 11:25:09 +0200 (CEST) Message-ID: <5003DDF4.5080709@b1-systems.de> Date: Mon, 16 Jul 2012 11:25:08 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120421 Thunderbird/12.0 MIME-Version: 1.0 To: internals@lists.php.net References: In-Reply-To: X-Enigmail-Version: 1.4.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] 6.0 And Moving Forward From: lang@b1-systems.de (Ralf Lang) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > 1. Change the error handling system from the current E_* system to > typed exceptions for everything but advisory errors (E_STRICT, > E_NOTICE, E_DEPRECATED). Why? Because the current error system > encourages ignoring or not checking what the error was, and it > makes defensive programming quite difficult. This is arguable and > preference for sure, but it's a major change that could have large > benefits. I like that one. Proposed something like this a while ago but back then it did not fit into a minor release's scope and limitations. > Thoughts? Provide a stock "Number" and "String" object if primitives themselves cannot be turned into objects for bc reasons. - -- Ralf Lang Linux Consultant / Developer B1 Systems GmbH -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlAD3fQACgkQCs1dsHJ/X7BLqwCg4/9mj2tgiBQtV6JZteJ0Fqat bhwAoPMQy7M8CA2Ni4unFcRMDeUFiImg =xRS8 -----END PGP SIGNATURE-----