frontcontroller21.phar.phpt 740 B

1234567891011121314151617181920212223242526
  1. --TEST--
  2. Phar front controller $_SERVER munging success zip-based
  3. --INI--
  4. default_charset=UTF-8
  5. cgi.fix_pathinfo=1
  6. --EXTENSIONS--
  7. phar
  8. zlib
  9. --ENV--
  10. SCRIPT_NAME=/frontcontroller21.phar.php
  11. REQUEST_URI=/frontcontroller21.phar.php/index.php?test=hi
  12. PATH_INFO=/index.php
  13. QUERY_STRING=test=hi
  14. --FILE_EXTERNAL--
  15. files/frontcontroller12.phar.zip
  16. --EXPECTHEADERS--
  17. Content-type: text/html; charset=UTF-8
  18. --EXPECTF--
  19. string(10) "/index.php"
  20. string(10) "/index.php"
  21. string(%d) "phar://%sfrontcontroller21.phar.php/index.php"
  22. string(18) "/index.php?test=hi"
  23. string(37) "/frontcontroller21.phar.php/index.php"
  24. string(27) "/frontcontroller21.phar.php"
  25. string(%d) "%sfrontcontroller21.phar.php"
  26. string(45) "/frontcontroller21.phar.php/index.php?test=hi"