diff options
| author | cassiopc <cassiopc@gmail.com> | 2012-10-24 07:56:07 +0000 |
|---|---|---|
| committer | cassiopc <cassiopc@gmail.com> | 2012-10-24 07:56:07 +0000 |
| commit | 3a5f406ff59a05c0eddda191127d58b39cb8049b (patch) | |
| tree | f3ff6adfea30fba8271dedc81d7d652737ae397e /boca-1.5.2/src/test.php | |
| parent | 9ae5ead9f89bcc7195420bdf6cc78db2c63dbeda (diff) | |
| download | boca-3a5f406ff59a05c0eddda191127d58b39cb8049b.tar.gz boca-3a5f406ff59a05c0eddda191127d58b39cb8049b.zip | |
open dir for 1.5.2. I still must split devel and master in different branches to properly use git...
Diffstat (limited to 'boca-1.5.2/src/test.php')
| -rw-r--r-- | boca-1.5.2/src/test.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/boca-1.5.2/src/test.php b/boca-1.5.2/src/test.php new file mode 100644 index 0000000..694120a --- /dev/null +++ b/boca-1.5.2/src/test.php @@ -0,0 +1,16 @@ +<?php +$simple = file_get_contents('../doc/test.dat'); +$p = xml_parser_create(); +xml_parser_set_option($p, XML_OPTION_CASE_FOLDING, 1); +xml_parser_set_option($p, XML_OPTION_SKIP_WHITE, 1); +xml_parse_into_struct($p, $simple, $vals, $index); +xml_parser_free($p); +echo "Index array\n"; +print_r($index); +echo "\nVals array\n"; +print_r($vals); + +$aa = "aaa"; +$$aa = "a"; +echo "==>" . $aa . " " . $aaa . "\n"; +?> |