php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #27448 Short Tags Replacement
Submitted: 2004-03-01 11:45 UTC Modified: 2004-03-01 12:50 UTC
Votes:2
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: alan at nuionline dot com Assigned:
Status: Wont fix Package: Feature/Change Request
PHP Version: Irrelevant OS: All
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2004-03-01 11:45 UTC] alan at nuionline dot com
Description:
------------
Based on the frequent discussion on short tags and their benefits and problems, I would like to propose that a new tag set be added that is equivalent to short tags and that can be utilized on any server, regardless of configuration.

My reasoning lies in the fact that it occurs too frequently that a developer needs to output a single variable while not in a set of php processing instructions, and currently the only choices are to use a syntax that is not universally support or to type much more than should be necessary for such a simple task.

My initial recommendation would be to simply use a mix between the two syntaxes, something like <?php =$foo?>.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-03-01 12:50 UTC] derick@php.net
This was brought up before, and will not be implemented. Please search through the archives for more information.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 16 23:01:30 2024 UTC