aboutsummaryrefslogtreecommitdiff
path: root/src/test.php
diff options
context:
space:
mode:
authorcassio <cassiopc@gmail.com>2013-07-02 05:46:45 +0000
committercassio <cassiopc@gmail.com>2013-07-02 05:46:45 +0000
commitbe2491b093b1f0ca430bede679ecbb670041e483 (patch)
treefe2da63d1811cb93e4352a43a113ace37b9f6017 /src/test.php
parenta9aa438ea0558eb0044cf1e54a9190ddb41b65e5 (diff)
downloadboca-be2491b093b1f0ca430bede679ecbb670041e483.tar.gz
boca-be2491b093b1f0ca430bede679ecbb670041e483.zip
restructuring of boca's git
Diffstat (limited to 'src/test.php')
-rw-r--r--src/test.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/test.php b/src/test.php
new file mode 100644
index 0000000..694120a
--- /dev/null
+++ b/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";
+?>