PHP Miscellaneous functions, php Miscellaneous functions _ PHP Tutorial

Source: Internet
Author: User
PHP Miscellaneous functions, php Miscellaneous functions. PHP Miscellaneous function, php Miscellaneous function description connection_aborted () check whether the client is disconnected. Connection_status () returns the current connection status. Connection_timeout () in PHP4 PHP Miscellaneous functions, php Miscellaneous functions

Function

Description

Connection_aborted ()

Check whether the client is disconnected.

Connection_status ()

Returns the current connection status.

Connection_timeout ()

PHP 4.0.5 does not support this function.

Constant ()

Returns the value of a constant.

Define ()

Defines a constant.

Defined ()

Check whether a constant exists.

Die ()

Output a message and exit the current script.

Eval ()

Calculate the string according to the PHP code.

Exit ()

Output a message and exit the current script.

Get_browser ()

Returns the performance of your browser.

Highlight_file ()

Highlight the syntax of the file.

Highlight_string ()

Highlight the syntax of the string.

Ignore_user_abort ()

Set whether to terminate the script execution when the client is disconnected.

Pack ()

Load data into a binary string.

Php_check_syntax ()

PHP 5.0.5 does not support this function.

Php_strip_whitespace ()

Returns the source code file that has deleted the PHP comments and blank characters.

Show_source ()

The alias of highlight_file.

Sleep ()

Code execution is delayed for several seconds.

Time_nanosleep ()

The code execution is delayed for several seconds and the waiting time is seconds.

Time_sleep_until ()

The specified time for code execution to be delayed.

Uniqid ()

Generate a unique ID.

Unpack ()

Unpacks data from binary strings.

Usleep ()

Several microseconds of code execution are delayed.

Http://www.bkjia.com/PHPjc/993271.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/993271.htmlTechArticlePHP Miscellaneous function, php Miscellaneous function description connection_aborted () check whether the client is disconnected. Connection_status () returns the current connection status. Connection_timeout () in php4...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.