ID: 32120
Updated by: [EMAIL PROTECTED]
Reported By: johnnygroeneveld at chello dot nl
-Status: Closed
+Status: Bogus
Bug Type: Feature/Change Request
Operating System: n.v.t.
PHP Version: Irrelevant
New Comment:
not a bug ? => Bogus
Previous Comments:
------------------------------------------------------------------------
[2005-03-05 16:04:57] johnnygroeneveld at chello dot nl
found the XsltProcessor->registerPhpFunctions()
which enables me to do this in another way
------------------------------------------------------------------------
[2005-02-26 10:57:13] johnnygroeneveld at chello dot nl
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 this bug report at http://bugs.php.net/?id=32120&edit=1