/php-algorithm

practice algorithm with PHP

Primary LanguagePHP

php-algorithm

practice algorithm with PHP

  1. Run the .php file in command line like below, the php-cli in your system will execute it: ./quick_sort.php
  2. Before run the .php file, add the execute permission to it, for example: chmod +x quick_sort.php
  3. 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.
  4. These file also can be executed on the PHP web server, but the result may has some format problem.