<?php $console = PhpBrew\Console::getInstance(); if (isset($argv)) { if (!$console->runWithTry($argv)) { exit(-1); } }
<?php $console = new PhpBrew\Console(); try { if (isset($argv)) { $console->run($argv); } } catch (Exception $e) { echo $e->getMessage(), "\n"; exit(-1); }