#10509 [Com]: Zend Optimizer includes "shell line" in output
| From: | free-hardcore1606 at hotmail dot com | Date: | Tue, 20 Jul 2004 15:01:31 +0000 |
| Subject: | #10509 [Com]: Zend Optimizer includes "shell line" in output | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-62811@lists.php.net to get a copy of this message | ||
ID: 10509
Comment by: free-hardcore1606 at hotmail dot com
Reported By: mdobel at kawo2 dot rwth-aachen dot de
Status: Bogus
Bug Type: Scripting Engine problem
Operating System: Linux 2.2.19
PHP Version: 4.0.4pl1
New Comment:
<a href=http://free-hardcore-bikin.da.ru>free
hardcore</a>
Previous Comments:
------------------------------------------------------------------------
[2001-04-26 08:19:35] hholzgra@php.net
you should ask Zend support
on problems with Zend products
------------------------------------------------------------------------
[2001-04-26 08:13:36] mdobel at kawo2 dot rwth-aachen dot de
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 this bug report at http://bugs.php.net/?id=10509&edit=1