Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:803 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 63530 invoked from network); 8 Apr 2003 18:34:23 -0000 Received: from unknown (HELO jedi.webgate.bg) (212.50.2.189) by pb1.pair.com with SMTP; 8 Apr 2003 18:34:23 -0000 Received: from andreywin (nik.office.webgate.bg [192.168.1.22]) by jedi.webgate.bg (8.12.9/8.9.3) with SMTP id h38IdjWH001642; Tue, 8 Apr 2003 21:39:45 +0300 Message-ID: <043801c2fdfd$77798100$1601a8c0@andreywin> To: "Sterling Hughes" , References: <1049764010.24472.618.camel@hasele> <1049769838.24472.719.camel@hasele> <1049825151.20585.8.camel@hasele> Date: Tue, 8 Apr 2003 21:34:18 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Subject: Re: [PHP-DEV] [PATCH] Allow constant expressions From: andrey@webgate.bg ("Andrey Hristov") > > However: > > class simple { > const minute = second * 60; > const second = 1; > } > > Wouldn't, and neither would: > > class simple { > const foo = "bar"; > } So, only scalars could be initialized consts? Andrey