[导入]php exit 函数的一个Notice
用法有二:
void exit ([ string $status ] )
void exit ( int $status )
注意:
Note: PHP >= 4.2.0 does NOT print the status if it is an integer.
如:
$a = 3;
exit($a);//不会有输出值,若$a是字符串就会原样输出
void exit ([ string $status ] )
void exit ( int $status )
注意:
Note: PHP >= 4.2.0 does NOT print the status if it is an integer.
如:
$a = 3;
exit($a);//不会有输出值,若$a是字符串就会原样输出
文章来源:http://www.phpweblog.net/fuyongjie/archive/2009/03/03/6363.html