您的位置:首页 > 编程语言 > PHP开发

[导入]php exit 函数的一个Notice

2009-03-06 01:12 302 查看
用法有二:
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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: