From: [EMAIL PROTECTED]
Operating system: Linux 2.2.19
PHP version: 4.0.4pl1
PHP Bug Type: Scripting Engine problem
Bug description: Zend Optimizer includes "shell line" in output
Assume the following "Shell Script":
#!/usr/local/bin/php -q
<?php
print("blafasel.\n");
?>
With the Zend Optimizer switched on the script's output is:
[markus@testmoehre]$ ./test.php
#!/usr/local/bin/php -q
blafasel.
[markus@testmoehre]$
Notice the first line, which shouldn't be there.
After removing (or commenting) the lines
zend_optimizer.optimization_level=15
zend_extension="/usr/local/lib/zend/ZendOptimizer.so"
in php.ini, the output is as expected (i.e. without the first line).
--
Edit Bug report at: http://bugs.php.net/?id=10509&edit=1
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]