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:
<?php
class EncBug1 {
function bug1() {
return "file=" . __FILE__ . ", line=" . __LINE__ .
", class=" . __CLASS__ . ", func=" . __FUNCTION__;
}
}
echo EncBug1::bug1() . "\n";
?
Howdy,
I have the latest version of the encoder and optimizer installed and am running
Please file these bugs with the Zend people, it's not a PHP problem.
Derick
--
"Interpreting what the GPL actually means is a job best left to those
that read the future by examining animal entrails."
Derick Rethans http://derickrethans.nl/
International PHP Magazine http://php-mag.net/