summaryrefslogtreecommitdiff
path: root/tests/php/phpt/variables/024-get-post.phpt
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2015-11-05 10:25:57 +0100
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2015-11-05 10:25:57 +0100
commitaec191bc6cbb83884466800a750ecad0b37e254f (patch)
treef52fe2b9551056580c5c519fb78a3c5600e1034a /tests/php/phpt/variables/024-get-post.phpt
parentaf530282f530580c1ed7bc184df0a727068275e1 (diff)
remove test framework, it never works, most of the bugs found by the test framework turn out to be caused by errors in the tests instead of errors in the real code, people complain about it all the time, and basically this whole test framework causes more problems than it solves, solves issue #215 and solves issue #221
Diffstat (limited to 'tests/php/phpt/variables/024-get-post.phpt')
-rw-r--r--tests/php/phpt/variables/024-get-post.phpt26
1 files changed, 0 insertions, 26 deletions
diff --git a/tests/php/phpt/variables/024-get-post.phpt b/tests/php/phpt/variables/024-get-post.phpt
deleted file mode 100644
index 9ac1243..0000000
--- a/tests/php/phpt/variables/024-get-post.phpt
+++ /dev/null
@@ -1,26 +0,0 @@
---TEST--
-test get and post
---SKIPIF--
-<?php if (!extension_loaded("extension_for_tests")) print "skip"; ?>
---GET--
-a=<b>test</b>&b=http://phpcpp.com&ar[elm1]=1234&ar[elm2]=0660&a=0234
---POST--
-c=<p>string</p>&d=12345.7&e[]=e1&e[]=e2
---FILEEOF--
-<?php
-
-
-TestVariables\get_post();
-
---EXPECTF--
-_GET[a] = 0234
-_GET[b] = http://phpcpp.com
-_GET[ar][elm1] = 1234
-_GET[ar][elm2] = 0660
-_POST[c] = <p>string</p>
-_POST[d] = 12345.7
-
-Notice: Array to string conversion in %s/024-get-post.php on line %d
-_POST[e] = Array
-_POST[e][0] = e1
-_POST[e][1] = e2 \ No newline at end of file