php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10509 Zend Optimizer includes "shell line" in output
Submitted: 2001-04-26 08:13 UTC Modified: 2001-04-26 08:19 UTC
From: mdobel at kawo2 dot rwth-aachen dot de Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 4.0.4pl1 OS: Linux 2.2.19
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mdobel at kawo2 dot rwth-aachen dot de
New email:
PHP Version: OS:

 

 [2001-04-26 08:13 UTC] 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).

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-04-26 08:19 UTC] hholzgra@php.net
you should ask Zend support
on problems with Zend products
 
PHP Copyright © 2001-2017 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC