From a5259b83e198f409a3a5f0a96f60f71f3ec17f09 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 14 Jul 2007 22:48:54 +0000 Subject: [PATCH] Adding a few tests of PHP5's new features --- php520-test/SimpleXml.php | 52 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 php520-test/SimpleXml.php diff --git a/php520-test/SimpleXml.php b/php520-test/SimpleXml.php new file mode 100644 index 0000000..2eebe1a --- /dev/null +++ b/php520-test/SimpleXml.php @@ -0,0 +1,52 @@ +download[1]->date->timestamp->attributes()); + +// utf8 - no header tag +$data = ' + הודעות של צור קשר לא מגיעות לשום מקום +'; +$xml = new SimpleXmlElement($data); +print_r($xml); + +// utf8 +$data = ' + + הודעות של צור קשר לא מגיעות לשום מקום +'; +$xml = new SimpleXmlElement($data); +print_r($xml); + + +/*=====================================================================*\ +|| ################################################################### +|| # $HeadURL$ +|| # $Id$ +|| ################################################################### +\*=====================================================================*/ +?> \ No newline at end of file -- 2.22.5