Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:3371 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 80013 invoked from network); 11 Jul 2003 23:28:30 -0000 Received: from unknown (HELO mail.3gstech.com) (216.239.132.110) by pb1.pair.com with SMTP; 11 Jul 2003 23:28:30 -0000 Received: from 3gstech.com (ip-209-172-92-41.us01.qualys.com [209.172.92.41]) by mail.3gstech.com (Postfix) with ESMTP id 16F57A7FCE5 for ; Fri, 11 Jul 2003 16:28:29 -0700 (PDT) Message-ID: <3F0F47C2.3090206@3gstech.com> Date: Fri, 11 Jul 2003 16:26:58 -0700 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en MIME-Version: 1.0 To: internals@lists.php.net Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: encoded php files bug From: waboring@3gstech.com (walt boring) Howdy, I have the latest version of the encoder and optimizer installed and am running php 4.3.2. I have a simple test script below which shows that encoded files complain that __CLASS__ and __FUNCTION__ are undefined. $ php ~/EncoderBug2-enc.php Notice: Use of undefined constant __CLASS__ - assumed '__CLASS__' in /home/waboring/EncoderBug2-enc.php on line 13 Notice: Use of undefined constant __FUNCTION__ - assumed '__FUNCTION__' in /home/dl/EncoderBug2-enc.php on line 13 file=/home/waboring/EncoderBug2-enc.php, line=12, class=__CLASS__, func=__FUNCTION__ Source/test file: