note 22356 added to features.commandline

From: Date: Fri, 14 Jun 2002 16:46:41 +0000
Subject: note 22356 added to features.commandline
Groups: php.notes 
Request: Send a blank email to php-notes+get-31865@lists.php.net to get a copy of this message
a few missing d's in the handy function. here it is with the typos fixed if (version_compare(phpversion(),'4.3.0','<')) { define('STDIN',fopen("php://stdin","r")); define('STDOUT',fopen("php://stdout","r")); define('STDERR',fopen("php://stderr","r")); register_shutdown_function( create_function( '' , 'fclose(STDIN); fclose(STDOUT); fclose(STDERR); return true;' ) ); } -- http://www.php.net/manual/en/features.commandline.php http://master.php.net/manage/user-notes.php?action=edit+22356 http://master.php.net/manage/user-notes.php?action=delete+22356 http://master.php.net/manage/user-notes.php?action=reject+22356

« previous php.notes (#31865) next »