php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #32565 Lazy boolean conditional different on CGI / mod_php
Submitted: 2005-04-04 14:25 UTC Modified: 2005-04-04 15:40 UTC
From: joel at elserver dot com Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 4.3.10 OS: Linux 2.4.x
Private report: No CVE-ID: None
 [2005-04-04 14:25 UTC] 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.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-04-04 15:36 UTC] joel at elserver dot com
It seems to be Turck MMCache related. Thanks for your time.
 [2005-04-04 15:40 UTC] tony2001@php.net
No PHP bugs -> bogus.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 17 09:01:27 2024 UTC