Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:75886 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 78738 invoked from network); 22 Jul 2014 19:50:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Jul 2014 19:50:16 -0000 Authentication-Results: pb1.pair.com header.from=php@golemon.com; sender-id=softfail Authentication-Results: pb1.pair.com smtp.mail=php@golemon.com; spf=softfail; sender-id=softfail Received-SPF: softfail (pb1.pair.com: domain golemon.com does not designate 209.85.220.53 as permitted sender) X-PHP-List-Original-Sender: php@golemon.com X-Host-Fingerprint: 209.85.220.53 mail-pa0-f53.google.com Received: from [209.85.220.53] ([209.85.220.53:33781] helo=mail-pa0-f53.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 30/50-21666-670CEC35 for ; Tue, 22 Jul 2014 15:50:15 -0400 Received: by mail-pa0-f53.google.com with SMTP id kq14so168787pab.26 for ; Tue, 22 Jul 2014 12:50:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:date:message-id:subject:from :to:content-type; bh=LWZ0IItISWcGQ4sK8gniO/n+ypBS2J3jMjSAS3/UuCg=; b=eU4dTFhmpXBaRYXnp2VvcOVKJ9gYPGXMrvLnL4qTTQdVYXpcfw9TUFlSjBEsIiGp59 +FykYGfcqPadFKDpW1oDmtGFZ+GtnQ02xKd/P0SnJRBXOLU9h6bNaBUM/WsDbmo4oJac C0PrqpmozywzEgahV0K4KuEpnkGJrjRTEVwyXeaK9wUtSN7T2mSwehMRlmzAn+nDMyLz EjPiCuU2R8dF2UCFNaNPnJK4oi42EveNdOlaN2hvu2VeC9EhrqVuaqq2zdMXNv4i8DzO UZBLnpeedpu0pfpo+RFGFwtS/bq3oZtBRL2hVsqKIJsYzNGcv24nZKDSAgAlEh0O5zil ugWw== X-Gm-Message-State: ALoCoQmt+Keke4ZPyNEdTlrGepAjlG9rzD3N8gamejlA3Kt5CWSFVgHojmlabRK5+lehj+cnWoFb MIME-Version: 1.0 X-Received: by 10.70.96.38 with SMTP id dp6mr4764005pdb.136.1406058612603; Tue, 22 Jul 2014 12:50:12 -0700 (PDT) Sender: php@golemon.com Received: by 10.70.33.208 with HTTP; Tue, 22 Jul 2014 12:50:12 -0700 (PDT) X-Originating-IP: [173.252.71.189] Date: Tue, 22 Jul 2014 12:50:12 -0700 X-Google-Sender-Auth: TQNd6heKBTb4e4ErlUZO-eM_R5Q Message-ID: To: PHP internals Content-Type: text/plain; charset=UTF-8 Subject: PHP Language Specification From: pollita@php.net (Sara Golemon) Just announced something at OSCON that's probably going to get a lot of folks talking and making assumptions, so before things get out of hand, I want to provide some context. We (As in PHP) have been talking about making a spec for the PHP language for a LONG time. With PHPNG around the corner, the need for a formal spec is even more important so that we can reliably ensure that PHP.Next matches PHP 5.6's behavior as much as possible. Meanwhile, other implementations of PHP (like HHVM) should be as spec compliant as possible so that we don't see the language bifurcate. To that end, we (as in Facebook), have been putting together a formal language spec for PHP (using PHP 5.6 as the source of truth) along with an additional conformance test suite (which compliments Zend/tests). We've talked to some engine folks along the way to get feedback and make version 1 as good as it can be, and we're really close to releasing it (aiming for next week). Note that this document only covers the language syntax and not the standard runtime library. This document is meant for PHP, and PHP should be the steward of it going forward, so we (as in PHP) should start looking at good ways to keep it up to date and revise it over time. As a sneak-peak, uploaded a very small section so that you get an idea for what the document looks like overall. http://dl.hhvm.com/resources/PHPSpec-SneakPeak.pdf Tons of love, -Sara P.S. - Apologies if you got this twice. But the version I sent with an attachment looks like it got stripped by the list server.