Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:75898 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 10363 invoked from network); 22 Jul 2014 22:15:09 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Jul 2014 22:15:09 -0000 Authentication-Results: pb1.pair.com header.from=ajf@ajf.me; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ajf@ajf.me; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ajf.me designates 192.64.116.216 as permitted sender) X-PHP-List-Original-Sender: ajf@ajf.me X-Host-Fingerprint: 192.64.116.216 imap10-3.ox.privateemail.com Received: from [192.64.116.216] ([192.64.116.216:51958] helo=imap10-3.ox.privateemail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D6/45-21666-C62EEC35 for ; Tue, 22 Jul 2014 18:15:08 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.privateemail.com (Postfix) with ESMTP id A30532400C3; Tue, 22 Jul 2014 18:15:06 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at imap10.ox.privateemail.com Received: from mail.privateemail.com ([127.0.0.1]) by localhost (imap10.ox.privateemail.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id QFVgaXDnETJk; Tue, 22 Jul 2014 18:15:06 -0400 (EDT) Received: from [192.168.0.15] (unknown [90.210.122.167]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.privateemail.com (Postfix) with ESMTPSA id F1BEE2400D1; Tue, 22 Jul 2014 18:14:49 -0400 (EDT) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) In-Reply-To: Date: Tue, 22 Jul 2014 23:09:40 +0100 Cc: PHP internals Content-Transfer-Encoding: quoted-printable Message-ID: References: To: Sara Golemon X-Mailer: Apple Mail (2.1878.6) Subject: Re: [PHP-DEV] PHP Language Specification From: ajf@ajf.me (Andrea Faulds) On 22 Jul 2014, at 20:50, Sara Golemon wrote: > 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. >=20 > 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. >=20 > http://dl.hhvm.com/resources/PHPSpec-SneakPeak.pdf This is awesome! Finally, PHP gets a specification. Good luck documenting PHP=92s inconsistent semantics, though. It=92ll = either be endlessly detailed, or not matching PHP 5.6. To be honest, I = think we should probably clean up PHP=92s semantics so they can be more = clearly specified. -- Andrea Faulds http://ajf.me/