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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 11:01:30 2024 UTC