Last active
August 29, 2015 13:56
-
-
Save macmladen/8844901 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* You can easily parse command line arguments into the | |
* $_GET variable by using the parse_str() function. | |
*/ | |
parse_str(implode('&', array_slice($argv, 1)), $_GET); | |
/** | |
* PHP error reporting activation | |
*/ | |
error_reporting(E_ALL); | |
ini_set('display_errors', TRUE); | |
ini_set('display_startup_errors', TRUE); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment