php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #43701 New PHP File Type
Submitted: 2007-12-29 05:39 UTC Modified: 2007-12-29 10:25 UTC
Votes:7
Avg. Score:4.0 ± 0.8
Reproduced:4 of 4 (100.0%)
Same Version:3 (75.0%)
Same OS:3 (75.0%)
From: dagdamor at simps dot ru Assigned:
Status: Wont fix Package: Feature/Change Request
PHP Version: 6CVS-2007-12-29 (CVS) OS:
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: dagdamor at simps dot ru
New email:
PHP Version: OS:

 

 [2007-12-29 05:39 UTC] dagdamor at simps dot ru
Description:
------------
What about new file type (extension) for PHP? :)

Say, .psc (PHP Source Code). The only difference from .php is that it wouldn't recognize <?php ... ?> tags at all, and would only work as pure PHP code. Would be very useful for serious projects, like PHP frameworks, that don't need HTML embedding, and use template systems instead.

Cheers,
Dagdamor


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-12-29 10:25 UTC] derick@php.net
I don't see why this is useful at all, just add the tags.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 10:01:29 2024 UTC