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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: vivekanandan8 at yahoo dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Sat Jul 12 02:01:35 2025 UTC