aboutsummaryrefslogtreecommitdiffstats
path: root/test/data/with_fries_over_jsonp.php
diff options
context:
space:
mode:
Diffstat (limited to 'test/data/with_fries_over_jsonp.php')
-rw-r--r--test/data/with_fries_over_jsonp.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/data/with_fries_over_jsonp.php b/test/data/with_fries_over_jsonp.php
new file mode 100644
index 000000000..456aeb3bd
--- /dev/null
+++ b/test/data/with_fries_over_jsonp.php
@@ -0,0 +1,7 @@
+<?php
+error_reporting(0);
+$callback = $_REQUEST['callback'];
+$json = $_REQUEST['json'];
+$text = json_encode(file_get_contents(dirname(__FILE__)."/with_fries.xml"));
+echo "$callback($text)";
+?>