019.phpt 211 B

1234567891011121314151617
  1. --TEST--
  2. POST Method test and arrays - 7
  3. --POST--
  4. a[]=1&a[]]=3&a[[]=4
  5. --FILE--
  6. <?php
  7. var_dump($_POST['a']);
  8. ?>
  9. --EXPECT--
  10. array(3) {
  11. [0]=>
  12. string(1) "1"
  13. [1]=>
  14. string(1) "3"
  15. ["["]=>
  16. string(1) "4"
  17. }