Applies To:
[ Zend Guard 5.0.0 ]
[ All operating systems ]
Symptom
PHP scripts encoded by Zend Guard that use the PHP constant __FILE__ may suffer from different misbehavior. Instead of full path to the file you will see it in the current directory -> './' If you rename the file, the return output of __FILE__ will show the name of the original file.
Technical Details
This problem is due to how Zend Guard version 5.0.0 operates. The Encoder can not handle the magic constant in the right way.
Resolution / Workaround
Upgrade the latest version of Zend Guard.
Excerpt: PHP scripts encoded by Zend Guard that use the PHP constant __FILE__ may suffer from different misbehavior.
Original Post Date: 2009-04-22 16:45:53
Alternative Description:
Zend Guard, encoded PHP files with __FILE__
Comments