php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5420 <?php= does not work like <?=
Submitted: 2000-07-07 00:04 UTC Modified: 2000-07-07 10:11 UTC
From: jo at feuersee dot de Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0.1 OS: Linux 2.2.16
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: jo at feuersee dot de
New email:
PHP Version: OS:

 

 [2000-07-07 00:04 UTC] jo at feuersee dot de
As seen in the pear examples, php4 supports the <?= shortcut to output a variable value like ASP (eg. <?= $weird ?> will output the _value of the php variable $weird, equal to <?php print($weird) ?>.
This does not work when using <?php= $weird ?>
This is pretty inconsitence, is the <?= syntax an offical feature? 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-07 00:30 UTC] eschmid at cvs dot php dot net
Hi Jo,
it's a feature not a bug.
-Egon
PS: Could it be that I missed you at the LinuxTag last week
on the Stuttgarter Killeshills?
 [2000-07-07 10:11 UTC] stas at cvs dot php dot net
Not a bug, it's meant to be this way.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 22:00:02 2026 UTC