Sample Test: sample016.phpt
Back to "PHPT Test File Layout"
--TEST-- Test get variables with CGI binary --GET-- hello=World&goodbye=MrChips --CGI-- --FILE-- <?php var_dump($_GET); ?> --EXPECT-- array(2) { ["hello"]=> string(5) "World" ["goodbye"]=> string(7) "MrChips" }
Back to "PHPT Test File Layout"