PHP connection_timeout() 函數

PHP Misc 參考手冊 PHP Misc 參考手冊


定義和用法

connection_timeout() 函數在 PHP 4.0.5 中不贊成使用,並已被移除。

connection_timeout() 函數檢查腳本是否超時。


語法

connection_timeout()

技術細節

返回值: 如果腳本超時則返回 1,否則返回 0。
PHP 版本: 4+


PHP Misc 參考手冊 PHP Misc 參考手冊