PHP die() 函数
PHP 教程
· 2019-01-27 12:29:08
实例
输出一条消息,并退出当前脚本:
<?php
$site = "http://www.w3cschool.cc/";
fopen($site,"r")
or die("Unable to connect to $site");
?>
$site = "http://www.w3cschool.cc/";
fopen($site,"r")
or die("Unable to connect to $site");
?>
定义和用法
die() 函数输出一条消息,并退出当前脚本。
该函数是 exit() 函数的别名。
语法
die(message)
| 参数 | 描述 |
|---|---|
| message | 必需。规定在退出脚本之前写入的消息或状态号。状态号不会被写入输出。 |
技术细节
| 返回值: | 没有返回值。 |
|---|---|
| PHP 版本: | 4+ |
点击查看所有 PHP 教程 文章: https://codercto.com/courses/l/5.html
Boolean Reasoning
Brown, Frank Markham / 2003-4 / $ 19.15
A systematic treatment of Boolean reasoning, this concise, newly revised edition combines the works of early logicians with recent investigations, including previously unpublished research results. Th......一起来看看 《Boolean Reasoning》 这本书的介绍吧!