Bug #10509: Zend Optimizer includes "shell line" in output

From: Date: Thu, 26 Apr 2001 12:13:36 +0000
Subject: Bug #10509: Zend Optimizer includes "shell line" in output
Groups: php.dev 
Request: Send a blank email to php-dev+get-52484@lists.php.net to get a copy of this message
From: mdobel@kawo2.rwth-aachen.de 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

« previous php.dev (#52484) next »