practice algorithm with PHP
- Run the .php file in command line like below, the php-cli in your system will execute it: ./quick_sort.php
- Before run the .php file, add the execute permission to it, for example: chmod +x quick_sort.php
- Before run the .php file, change the first line, setup the right php-cli path of your envirment like: #! /path/to/your-php-cli can get the path by use "which php" in command line.
- These file also can be executed on the PHP web server, but the result may has some format problem.