if(!defined('STDIN')) define('STDIN', fopen('php://stdin', 'rb')); if(!defined('STDOUT')) define('STDOUT', fopen('php://stdout', 'wb')); if(!defined('STDERR')) define('STDERR', fopen('php://stderr', 'wb'));