Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:28796 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 99486 invoked by uid 1010); 13 Apr 2007 19:45:29 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 99471 invoked from network); 13 Apr 2007 19:45:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Apr 2007 19:45:28 -0000 Authentication-Results: pb1.pair.com header.from=andrei@gravitonic.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=andrei@gravitonic.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain gravitonic.com from 204.11.219.139 cause and error) X-PHP-List-Original-Sender: andrei@gravitonic.com X-Host-Fingerprint: 204.11.219.139 mail.lerdorf.com Received: from [204.11.219.139] ([204.11.219.139:33504] helo=mail.lerdorf.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B5/F1-15016-6DDDF164 for ; Fri, 13 Apr 2007 15:45:28 -0400 Received: from [66.228.175.145] (borndress-lm.corp.yahoo.com [66.228.175.145]) (authenticated bits=0) by mail.lerdorf.com (8.13.8/8.13.8/Debian-3) with ESMTP id l3DJjKqq014687; Fri, 13 Apr 2007 12:45:20 -0700 In-Reply-To: <461FDD5A.1070004@zend.com> References: <461E4437.2090105@pooteeweet.org> <461E5674.5010107@hristov.com> <461EB95D.7030603@zend.com> <461FDD5A.1070004@zend.com> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-ID: <8E8F0B7F-15EC-41C3-8B19-CB56900F4EE4@gravitonic.com> Cc: Andrey Hristov , Lukas Kahwe Smith , internals@lists.php.net Content-Transfer-Encoding: 7bit Date: Fri, 13 Apr 2007 12:47:15 -0700 To: Stanislav Malyshev X-Mailer: Apple Mail (2.752.2) Subject: Re: [PHP-DEV] PHP6 todo list From: andrei@gravitonic.com (Andrei Zmievski) That can be handled with read_property and write_property handlers. Disallowing access to PHP users is an artificial restriction that we should find ways around. -Andrei On Apr 13, 2007, at 12:43 PM, Stanislav Malyshev wrote: >> Yes, if we have persistent zvals we can use objects/arrays as >> properties or constants for internal classes. I asked for this 2.5 >> years ago. > > If they are initialized on startup, I think it's doable, though > they shouldn't be directly accessible to the PHP user, since they > should be immutable. So constants are OK, but properties might be a > bit of a problem. > -- > Stanislav Malyshev, Zend Products Engineer > stas@zend.com http://www.zend.com/