From: johnnygroeneveld at chello dot nl
Operating system: n.v.t.
PHP version: Irrelevant
PHP Bug Type: Feature/Change Request
Bug description: xml feature
Description:
------------
I was thinking.
when I want to parse PHP i have to use <?...?>
in XML this is reserved.
<?xml version="1.0"?>
would become:
<?
header('content-type','text/xml');
print('<?xml version="1.0"?>');
?>
wouldn't it be handy to have the <? to be turned of in let's say .xphp
extensions and let php than parse this:
<php:eval>print('hello');</php:eval>
or something like that.
the header could automatically be set to text/xml.
Maybe that there is already something like this what i haven't heard of.
and <php:print>hello{$variable}</php:print> instead of <?=
just think about it.
--
Edit bug report at http://bugs.php.net/?id=32120&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32120&r=trysnapshot4
Try a CVS snapshot (php5.0):
http://bugs.php.net/fix.php?id=32120&r=trysnapshot50
Try a CVS snapshot (php5.1):
http://bugs.php.net/fix.php?id=32120&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=32120&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=32120&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=32120&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=32120&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=32120&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=32120&r=support
Expected behavior: http://bugs.php.net/fix.php?id=32120&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=32120&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=32120&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=32120&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32120&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=32120&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=32120&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=32120&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=32120&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=32120&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=32120&r=mysqlcfg