PHP Miscellaneous Functions
- Previous Page PHP Zip
- Next Page PHP Time Zone
PHP ਅਸਾਮੀ ਫੰਕਸ਼ਨ ਸਰਮਾਰਕ
ਅਸੀਂ ਇਸ ਪੰਨੇ 'ਤੇ ਹੋਰ ਕਿਸਮ ਦੇ ਫੰਕਸ਼ਨਾਂ ਨੂੰ ਸ਼ਾਮਲ ਕੀਤਾ ਹੈ。
ਇੰਸਟਾਲ
ਅਸਾਮੀ ਫੰਕਸ਼ਨ PHP ਕੋਰ ਦਾ ਹਿੱਸਾ ਹਨ। ਇਹ ਫੰਕਸ਼ਨ ਇੰਸਟਾਲ ਕੀਤੇ ਬਿਨਾ ਵਰਤੇ ਜਾ ਸਕਦੇ ਹਨ。
Runtime ਸੰਰਚਨਾ
ਅਸਾਮੀ ਫੰਕਸ਼ਨ ਦਾ ਵਿਵਹਾਰ php.ini ਵਿੱਚ ਸੈਟ ਕੀਤੇ ਗਏ ਸੈਟਿੰਗਾਂ ਦੀ ਅਨੁਸਾਰ ਹੈ。
ਅਸਾਮੀ ਫੰਕਸ਼ਨ ਸੰਰਚਨਾ ਚੋਣਾਂ:
ਨਾਮ | ਮੂਲ ਰੰਗ | Description | ਸੰਚਾਲਿਤ ਕਰੋ |
---|---|---|---|
ignore_user_abort | "0" | FALSE ਇਹ ਸੂਚਨਾ ਪ੍ਰਦਾਨ ਕਰੋ ਕਿ ਜੇਕਰ ਸਕ੍ਰਿਪਟ ਗਾਹਕ ਦੀ ਕਨੈਕਸ਼ਨ ਨੂੰ ਟਰੰਟ ਕਰਨ ਤੋਂ ਬਾਅਦ ਪ੍ਰਯਤਨ ਕਰਦਾ ਹੈ ਤਾਂ ਸਕ੍ਰਿਪਟ ਟਰੰਟ ਹੋ ਜਾਵੇਗਾ。 | PHP_INI_ALL |
highlight.string | "#DD0000" | PHP ਸਕ੍ਰਿਪਟ ਦੇ ਮਿਲਾਏ ਗਏ ਸਟਰਿੰਗ ਨੂੰ ਉਜਾਗਰ ਕਰਨ ਲਈ ਵਰਤੇ ਜਾਣ ਵਾਲੇ ਰੰਗ ਹੈ。 | PHP_INI_ALL |
highlight.comment | "#FF8000" | PHP ਟਿੱਪਣੀ ਨੂੰ ਉਜਾਗਰ ਕਰਨ ਲਈ ਵਰਤੇ ਜਾਣ ਵਾਲੇ ਰੰਗ ਹੈ。 | PHP_INI_ALL |
highlight.keyword | "#007700" | PHP ਕੀਵਰਡ ਨੂੰ ਉਜਾਗਰ ਕਰਨ ਲਈ ਵਰਤੇ ਜਾਣ ਵਾਲੇ ਰੰਗ ਹੈ (ਉਦਾਹਰਣ: ਗੁਲਾਬੀ ਅਤੇ ਸੈਕਨਡ ਕੋਲਨ)。 | PHP_INI_ALL |
highlight.bg | "#FFFFFF" | ਪਿੱਨ ਰੰਗ ਹੈ。 | PHP_INI_ALL |
highlight.default | "#0000BB" | PHP ਸਕ੍ਰਿਪਟ ਦੀ ਮੂਲ ਰੰਗ ਹੈ。 | PHP_INI_ALL |
highlight.html | "#000000" | HTML ਕੋਡ ਦੀ ਰੰਗ ਹੈ。 | PHP_INI_ALL |
browscap | NULL | ਬਰਾਉਜ਼ਰ ਪ੍ਰਦਰਸ਼ਨ ਫਾਇਲ ਦਾ ਨਾਮ ਅਤੇ ਸਥਾਨ (ਉਦਾਹਰਣ: browscap.ini)。 | PHP_INI_SYSTEM |
PHP Miscellaneous Functions
PHP:ਇਹ ਫੰਕਸ਼ਨ ਕਿਸ ਪਹਿਲੇ PHP ਵਰਜਨ ਵਿੱਚ ਸਮਰਥਿਤ ਹੈ ਇਹ ਸੂਚਨਾ ਪ੍ਰਦਾਨ ਕਰੋ。
ਫੰਕਸ਼ਨ | Description | PHP |
---|---|---|
connection_aborted() | ਕਿਉਂਕਿ ਗਾਹਕ ਕਨੈਕਸ਼ਨ ਤੋਂ ਵੱਖ ਹੋ ਗਿਆ ਹੈ ਇਹ ਪ੍ਰਕਾਸ਼ਿਤ ਕਰੋ。 | 3 |
connection_status() | ਮੌਜੂਦਾ ਕਨੈਕਸ਼ਨ ਦੇ ਸਥਿਤੀ ਵਾਪਸ ਕਰੋ。 | 3 |
connection_timeout() | PHP 4.0.5 ਵਿੱਚ ਇਸ ਦੀ ਵਰਤੋਂ ਨਾ ਕਰੋ。 | 3 |
constant() | ਇੱਕ ਸਥਾਈ ਮੁੱਲ ਦਾ ਮੁੱਲ ਵਾਪਸ ਕਰੋ。 | 4 |
define() | ਇੱਕ ਸਥਾਈ ਮੁੱਲ ਪਰਿਭਾਸ਼ਿਤ ਕਰੋ。 | 3 |
defined() | ਕੋਈ ਸਥਾਈ ਮੁੱਲ ਮੌਜੂਦ ਹੈ ਜਾਂ ਨਹੀਂ ਪ੍ਰਕਾਸ਼ਿਤ ਕਰੋ。 | 3 |
die() | Outputs a message and exits the current script. | 3 |
eval() | Calculates the string as PHP code. | 3 |
exit() | Outputs a message and exits the current script. | 3 |
get_browser() | Returns the performance of the user's browser. | 3 |
highlight_file() | Highlights the syntax of a file. | 4 |
highlight_string() | Highlights the syntax of a string. | 4 |
ignore_user_abort() | Sets whether the script execution should be terminated when the client disconnects. | 3 |
pack() | Packs data into a binary string. | 3 |
php_check_syntax() | Not recommended for use in PHP 5.0.5. | 5 |
php_strip_whitespace() | Returns the source code file with removed PHP comments and whitespace characters. | 5 |
show_source() | Alias of highlight_file() | 4 |
sleep() | Delays the execution of code for several seconds. | 3 |
time_nanosleep() | Delays the execution of code for several seconds and nanoseconds. | 5 |
time_sleep_until() | Delays the execution of code for a specified time. | 5 |
uniqid() | Generates a unique ID. | 3 |
unpack() | Unpacks data from a binary string. | 3 |
usleep() | Delays the execution of code for several microseconds. | 3 |
PHP Date / Time Constants
PHP:Indicates the earliest PHP version that supports this constant.
Constants | Description | PHP |
---|---|---|
CONNECTION_ABORTED | ||
CONNECTION_NORMAL | ||
CONNECTION_TIMEOUT | ||
__COMPILER_HALT_OFFSET__ | 5 |
- Previous Page PHP Zip
- Next Page PHP Time Zone