[导入]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是字符串就会原样输出



bestmost 2009-03-03 14:09 发表评论

文章来源:http://www.phpweblog.net/fuyongjie/archive/2009/03/03/6363.html
posted @ 2009-03-06 01:12  宇风  阅读(159)  评论(0编辑  收藏  举报