ID:               32120
 User updated by:  johnnygroeneveld at chello dot nl
 Reported By:      johnnygroeneveld at chello dot nl
-Status:           Open
+Status:           Closed
 Bug Type:         Feature/Change Request
 Operating System: n.v.t.
 PHP Version:      Irrelevant
 New Comment:

found the XsltProcessor->registerPhpFunctions()
which enables me to do this in another way


Previous Comments:
------------------------------------------------------------------------

[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

Reply via email to