forked from JetBrains/phpstorm-stubs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_standard_manual.php
54 lines (47 loc) · 2 KB
/
_standard_manual.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?php
/**
* @param string $str The string being translated.
* @param array $replace_pairs The replace_pairs parameter may be used as a substitute for to and from in which case it's an array in the form array('from' => 'to', ...).
* @return string A copy of str, translating all occurrences of each character in from to the corresponding character in to.
*/
function strtr ($str, array $replace_pairs) {};
/**
* (PHP 5.1)<br/>
* Halts the execution of the compiler. This can be useful to embed data in PHP scripts, like the installation files.
* Byte position of the data start can be determined by the __COMPILER_HALT_OFFSET__ constant
* which is defined only if there is a __halt_compiler() presented in the file.
* <p> Note: __halt_compiler() can only be used from the outermost scope.
* @link http://php.net/manual/en/function.halt-compiler.php
* @return void
*/
function __halt_compiler(){}
/**
* (PHP 5.1)<br/>
* Byte position of the data start, defined only if there is a __halt_compiler() presented in the file.
* @link http://php.net/manual/en/function.halt-compiler.php
* @return void
*/
define("__COMPILER_HALT_OFFSET__",0);
/**
* Convert hex to binary
* @link http://php.net/manual/en/function.hex2bin.php
* @param string $data
* @return string Returns the binary representation of the given data.
* @see bin2hex(), unpack()
* @since 5.4.0
*/
function hex2bin($data) {};
/**
* This function flushes all response data to the client and finishes the request.
* This allows for time consuming tasks to be performed without leaving the connection to the client open.
* @return boolean Returns TRUE on success or FALSE on failure.
* @link http://php.net/manual/en/install.fpm.php
* @since 5.3.3
*/
function fastcgi_finish_request() {};
/**
* Get or Set the HTTP response code
* @param int $response_code [optional] The optional response_code will set the response code.
* @return int The current response code. By default the return value is int(200).
*/
function http_response_code($response_code) {}