Since PHP 4.x, there is a CLI SAPI web server. As a tester you simply go to the folder and start the server.
Example
# change to directory where server should start
$ cd /path/to/folder
# start server with specific port
$ php -S localhost:8100
Now start your browser and insert the URL “localhost:8100”. With “Ctrl+c” you can stop the server.
Extended
# explicit document root
$ cd /path/to/folder
$ php -S localhost:8100 -t foo/bar/
# specific configuration
$ cd /path/to/folder
$ php -S localhost:8100 -c php.ini