#32565 [Opn->Bgs]: Lazy boolean conditional different on CGI / mod_php
| From: | tony2001@php.net | Date: | Mon, 04 Apr 2005 13:40:36 +0000 |
| Subject: | #32565 [Opn->Bgs]: Lazy boolean conditional different on CGI / mod_php | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-76304@lists.php.net to get a copy of this message | ||
ID: 32565
Updated by: tony2001@php.net
Reported By: joel at elserver dot com
-Status: Open
+Status: Bogus
Bug Type: Unknown/Other Function
Operating System: Linux 2.4.x
PHP Version: 4.3.10
New Comment:
No PHP bugs -> bogus.
Previous Comments:
------------------------------------------------------------------------
[2005-04-04 15:36:17] joel at elserver dot com
It seems to be Turck MMCache related. Thanks for your time.
------------------------------------------------------------------------
[2005-04-04 14:25:17] joel at elserver dot com
Description:
------------
When doing short conditionals PHP behaves differently when working as
an external CGI or as FastCGI,mod_php. Tested only on 4.3.10, identical
php.ini, web server version and OS.
Reproduce code:
---------------
1 && print "Test";
Expected result:
----------------
The expected result is the string "Test" printed on stdout. When
working with FastCGI or mod_php no output is sent. When running as CGI
everything works fine.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=32565&edit=1