aboutsummaryrefslogtreecommitdiff
path: root/boca-1.5.1/src/test.php
diff options
context:
space:
mode:
authorcassiopc <cassiopc@gmail.com>2012-08-31 09:02:27 +0000
committercassiopc <cassiopc@gmail.com>2012-08-31 09:02:27 +0000
commit2948fe8d6055f6dfe6289e64bce426b5e0bb552f (patch)
tree2cff8a28f2bcf1f21116b952738b5e683e11c193 /boca-1.5.1/src/test.php
parent37d5a8f2b6ecf585f91c2f7c804145853f0ca1e9 (diff)
downloadboca-2948fe8d6055f6dfe6289e64bce426b5e0bb552f.tar.gz
boca-2948fe8d6055f6dfe6289e64bce426b5e0bb552f.zip
inclusion of dir 1.5.1 for boca
Diffstat (limited to 'boca-1.5.1/src/test.php')
-rw-r--r--boca-1.5.1/src/test.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/boca-1.5.1/src/test.php b/boca-1.5.1/src/test.php
new file mode 100644
index 0000000..694120a
--- /dev/null
+++ b/boca-1.5.1/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";
+?>