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 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

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: Wed Feb 05 08:01:30 2025 UTC