Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:75931 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 89677 invoked from network); 23 Jul 2014 08:52:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Jul 2014 08:52:49 -0000 Authentication-Results: pb1.pair.com header.from=julienpauli@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=julienpauli@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.176 as permitted sender) X-PHP-List-Original-Sender: julienpauli@gmail.com X-Host-Fingerprint: 209.85.220.176 mail-vc0-f176.google.com Received: from [209.85.220.176] ([209.85.220.176:55532] helo=mail-vc0-f176.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 70/32-21666-ED77FC35 for ; Wed, 23 Jul 2014 04:52:47 -0400 Received: by mail-vc0-f176.google.com with SMTP id id10so1540810vcb.7 for ; Wed, 23 Jul 2014 01:52:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=d7Pv+gbK8cb6g5iENvRxYaBxQ7mm3dMABgTFA74nRbk=; b=YgxfJxox8MmmY/Jz9H/+8wK2nlQYMhTcRBHk3hGhmyCv5/YhOHnG6hAFsH1UkEL9yJ kG7oW3kPrewisHvp0ajS5pBNd5NNY0EjSjjHqVVUctSn0iJdiwhqurf1phvb9Ea8Bx7m 8s1kRhJ9dJGZizIeN6XADEBJ3VjxObWv2lUSVn9QI/MegN+C7Gojzml4xE5Nt5JbiSkn HBnjjokj8wN/SWvyNMb023coyMD3KvWl+rNdWZkkwZp0KO+kELQzbBhMUMSn0Z6ZiUF9 C8vF+ksLGUvap1CBb7uCE2U+JLyE/9p+A1vZQw2iSci40loIUKu/GcgC+axqHB6JXWMR dsHw== X-Received: by 10.221.47.9 with SMTP id uq9mr30858455vcb.48.1406105565244; Wed, 23 Jul 2014 01:52:45 -0700 (PDT) MIME-Version: 1.0 Sender: julienpauli@gmail.com Received: by 10.220.81.68 with HTTP; Wed, 23 Jul 2014 01:52:05 -0700 (PDT) In-Reply-To: References: Date: Wed, 23 Jul 2014 10:52:05 +0200 X-Google-Sender-Auth: bdkNnS-ONKPOg_MRoPv2HIcg6jE Message-ID: To: Sara Golemon Cc: PHP internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] PHP Language Specification From: jpauli@php.net (Julien Pauli) On Tue, Jul 22, 2014 at 9:50 PM, Sara Golemon wrote: > 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 Nice push Sara. Thank you. Julien.P