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 | |
function shutdown() { | |
$error = error_get_last(); | |
if ($error['type'] === E_ERROR) { | |
// fatal error has occured | |
$trace = array_reverse($GLOBALS['dbg_stack']); | |
array_pop($trace); | |
if(php_sapi_name() == 'cli') { | |
echo 'Backtrace for: \'' . $error['message'] . '\' at ' . $error['file'] . ':' . $error['line'] . ':' . "\n"; | |
foreach($trace as $item) |
This file has been truncated, but you can view the full file.
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
+ 14:38:40 [31m/Users/rmbl/.rvm/scripts/cli:797 [32m__rvm_parse_args:727[37m while if[[ -z '' && -n '' ]] | |
+ 14:38:40 [31m/Users/rmbl/.rvm/scripts/cli:800 [32m__rvm_parse_args:730[37m while if[[ error == || 0 -eq 1 || -n '' ]] | |
+ 14:38:40 [31m/Users/rmbl/.rvm/scripts/cli:86 [32m__rvm_parse_args:16[37m while[[ -n install ]] | |
+ 14:38:40 [31m/Users/rmbl/.rvm/scripts/cli:88 [32m__rvm_parse_args:18[37m whilervm_token=install | |
+ 14:38:40 [31m/Users/rmbl/.rvm/scripts/cli:90 [32m__rvm_parse_args:20[37m while if(( 1 > 0 )) | |
+ 14:38:40 [31m/Users/rmbl/.rvm/scripts/cli:92 [32m__rvm_parse_args:22[37m while thennext_token=2.1.2-jekyll2 | |
+ 14:38:40 [31m/Users/rmbl/.rvm/scripts/cli:93 [32m__rvm_parse_args:23[37m while thenshift | |
+ 14:38:40 [31m/Users/rmbl/.rvm/scripts/cli:98 [32m__rvm_parse_args:28[37m while casecase install ([0-9a-zA-ZuU]*|@*) | |
+ 14:38:40 [31m/Users/rmbl/.rvm/scripts/cli:101 [32m__rvm_parse_args:31[37m while case casecase install (use) | |
+ 14:38:40 [31m/Users/rmbl/.rvm/scripts/cli:10 |