Shell::MAX_OUTPUT_BUFFER && Shell::MAX_OUTPUT_BUFFER != null) { array_shift(Shell::$output_buffer); } return (int) $status; } /** * Flush the buffer stack * @return null */ static function flush() { Shell::$output_buffer = array(); } /** * Print the buffer stack * @return null */ static function output() { foreach(Shell::$output_buffer as $output_line) { printf("%s\n", $output_line); } } } ?>