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 Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or 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

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 02 17:03:42 2023 UTC