frontcontroller21.phpt 686 B

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