PHP: Built-in web server

If you have ever wanted to quickly test a php script but don't want to jump through hoops to get a local web server running you can make use of the built-in web server that comes with php. It's simple to use you just navigate to directory the file you want to run is in and start the server:

cd path_to_folder
php -S localhost:9000

And then visit your browser at localhost:9000