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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 16:01:29 2024 UTC