Hok's Macromedia Flash Blog

macromedia flash actionscript scripting, php, remoting, webservices, c#, javascript

Ads

Search

PHP5 (final release) - more fun with xml

PHP5 was released yesterday the 13th of July 2004. And there are some really nice new features.
http://www.php.net/



So i have downloaded the windows-binaries.
http://www.php.net/downloads.php#v5

And the HelloWorld-Program still works as expected...;-), but mostly i am interested in the completely redone xml-support. There is a new default-extension which is called SimpleXml and should enable easily accessing and manipulating XML as PHP objects.
http://de2.php.net/manual/en/ref.simplexml.php

Here you can see and download my test of the SimpleXml-Extension.
view
download

With SimpleXml you could also using xPath-Syntax to retrieve a specific node, but i have not found any support for adding nodes to the xml-document. That is really not sad because, there is another great extension, the dom-extension. With this extension we are enabled to use the same dom-api for dealing with xml-documents, as we are still using with macromedia-flash-xml-objects.
http://de2.php.net/manual/en/ref.dom.php

Posted by hOk at July 14, 2004 07:06 PM

Comments (0)


Name:


Email Address:


URL:


Comments:



You can use <code>code that should be highlightned</code> to highlight code!
Optionally you can use the attribut language="php|perl|java" within the code tag, otherwise
actionscript-highlightning will be used.

New Place