Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:72648 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 21856 invoked from network); 17 Feb 2014 08:14:53 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Feb 2014 08:14:53 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.44 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.216.44 mail-qa0-f44.google.com Received: from [209.85.216.44] ([209.85.216.44:44531] helo=mail-qa0-f44.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F3/8A-56374-BF4C1035 for ; Mon, 17 Feb 2014 03:14:51 -0500 Received: by mail-qa0-f44.google.com with SMTP id w5so21630368qac.31 for ; Mon, 17 Feb 2014 00:14:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=2k9dWdxkOYc00t4GsA5J1blny+KUGlVNV0D3hzE9tzk=; b=RS5x9OT87SQK+0tij0M2MqptmGswKVEnPI2Xnz8GLMttOe7TCGhnSzQcrJhPL4s38t Ep/Bwo4lu4oucN95OZPZLXVO7gtoMFw2fTGo/dlxhhVvXSG2T63frhEfMUeZ2+AGK4rC x+mdMw7DSWCRfAWzbzI9YCtez3tY8IvVyWv0w81Y5eXHIHXDsIjfBHbOUVklpJ/bPtkf nVPC0ppT/noiOm7prWgifaKPfGMYRAqGWFoXVo912WxsaC3vCrZARazq28mpwPM8/8F2 ItNDlaSMEYFiEXfnThZVFfdLO7F9P1Q7BrMjtz+nv5BqeawUPeuWvAsI3IUQreF0Oa+p AeOA== MIME-Version: 1.0 X-Received: by 10.140.44.6 with SMTP id f6mr30831851qga.10.1392624887732; Mon, 17 Feb 2014 00:14:47 -0800 (PST) Received: by 10.140.18.145 with HTTP; Mon, 17 Feb 2014 00:14:47 -0800 (PST) In-Reply-To: <5301C3A2.3060506@sugarcrm.com> References: <5301C3A2.3060506@sugarcrm.com> Date: Mon, 17 Feb 2014 09:14:47 +0100 Message-ID: To: Stas Malyshev Cc: PHP internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] my take on PHP 6, part 2 From: pierre.php@gmail.com (Pierre Joye) On Mon, Feb 17, 2014 at 9:09 AM, Stas Malyshev wrote: > Hi! > >> https://wiki.php.net/ideas/php6 > > Here's a bunch of mine: > - Clean up error reporting (let's decide - do we want exceptions? Yes, I wanted that as part of cleaning APIs (errors are parts of APIs), but you are right, it is and should be a topic on its own. > Warnings? Both?), make errors not so damn expensive and fix @ to be much > more lean-and-mean than it is now. Kill it could be an option too. I see the need of @ as a design failure. > - Figure out named args. I think it's time. Oh I forgot that one :) > - Bringing mbstring, various submodules of intl and assorted other > things under one roof as proper support for everything one needs with > i18n and l10n (maybe part of "Unicode support") Yes, I think it is part of the "Unicode" and "i18N/L10N" support too. > - Cleaning up resources handling so that various scenarios like "I freed > resource in error handler and now my code segfaults" wouldn't happen. > - Cleaning up LSP rules for inheritance checks, we still have some weird > cases lurking there AFAIR I would rather kill them and relies on objects ;-) > - Plug serialize/dtor hole, it's really not good that unserializing data > allows one to mess up with stuff. That's a detail, ok, an annoying details but I would like to focus on say top 10 thing we need, things that will require many discussions/time to design :) > - Create a robust design for escaping stuff, so it would be clear what > should be escaped, in which context and which encoding, etc. Good point, I think the escaping RFC could be a good starting point. Cheers, -- Pierre @pierrejoye | http://www.libgd.org