From:             [EMAIL PROTECTED]
Operating system: sparc-sun-solaris2.6
PHP version:      4.0.4pl1
PHP Bug Type:     Reproduceable crash
Bug description:  Using Zend Optimiser: including by URL fails

Zend Optimiser version 1.0.0 is installed.

PHP running on Apache-1.3.19

Including a file with an absolute reference to a URL fails to load the file completely 
- only part of the file loads resulting in incomplete HTML source.

Example: 
--
<?php
  include "http://www.example.com/foo.php";
?>
--

Example code attempting to be included:
--
<TABLE border="1"><TR><TD>Hello World</TD></TR></TABLE>
--

Example of PHP output (HTML source) when including this file:
--
TABL
--

As you can see, only a small portion of the file is actually included.

Removing the optimiser from our PHP install solves the problem; the file is included 
correctly.

This bug should be very easy to reproduce using the setup described here.

allow_url_open has been set to 1.

Please advise on either a workaround or when this bug is likely to be fixed; we are 
developing an intranet using PHP and this bug is quite an inconvenience.

Thanks,
- Bobby.



-- 
Edit Bug report at: http://bugs.php.net/?id=10134&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]

Reply via email to