1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#!/usr/bin/env php <?php error_reporting(E_ALL); require_once('lib/PHPGGC.php'); $x = new PHPGGC(); try { $x->generate(); } catch(\PHPGGC\Exception $e) { print("ERROR: " . $e->getMessage() . "\n"); exit(1); }