php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #53563 print statement returns nothing
Submitted: 2010-12-17 13:54 UTC Modified: 2010-12-17 13:55 UTC
From: vivekanandan8 at yahoo dot com Assigned:
Status: Not a bug Package: Output Control
PHP Version: 5.2.16 OS: windows
Private report: No CVE-ID: None
 [2010-12-17 13:54 UTC] vivekanandan8 at yahoo dot com
Description:
------------
<?php
$var1 = 10;
$var2=11; 
print  "condition=".$var1==$var2; 
?>

Expected result:
----------------
condition=0

Actual result:
--------------
empty screen 

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-12-17 13:55 UTC] felipe@php.net
-Status: Open +Status: Bogus
 [2010-12-17 13:55 UTC] felipe@php.net
$var1==$var2 produces false (boolean), not 0 integer.
 
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Thu Feb 09 05:05:49 2023 UTC