#32565 [Opn]: Lazy boolean conditional different on CGI / mod_php
ID: 32565
User updated by: joel at elserver dot com
Reported By: joel at elserver dot com
Status: Open
Bug Type: Unknown/Other Function
Operating System: Linux 2.4.x
PHP Version: 4.3.10
New Comment:
It seems to be Turck MMCache related. Thanks for your time.
Previous Comments:
------------------------------------------------------------------------
[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
Thread (3 messages)