code
stringlengths
31
1.39M
docstring
stringlengths
23
16.8k
func_name
stringlengths
1
126
language
stringclasses
1 value
repo
stringlengths
7
63
path
stringlengths
7
166
url
stringlengths
50
220
license
stringclasses
7 values
#[Deprecated(since: "5.5")] function mcrypt_cbc($cipher, $key, $data, $mode, $iv = null) { }
Encrypt/decrypt data in CBC mode @link https://php.net/manual/en/function.mcrypt-cbc.php @param int|string $cipher @param string $key @param string $data @param int $mode @param string $iv [optional] @return string @removed 7.0
mcrypt_cbc
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
MIT
#[Deprecated(since: '5.5')] function mcrypt_cfb($cipher, $key, $data, $mode, $iv = null) { }
Encrypt/decrypt data in CFB mode @link https://php.net/manual/en/function.mcrypt-cfb.php @param int|string $cipher @param string $key @param string $data @param int $mode @param string $iv [optional] @return string @removed 7.0
mcrypt_cfb
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
MIT
#[Deprecated(since: '5.5')] function mcrypt_ofb($cipher, $key, $data, $mode, $iv = null) { }
Encrypt/decrypt data in OFB mode @link https://php.net/manual/en/function.mcrypt-ofb.php @param int|string $cipher @param string $key @param string $data @param int $mode @param string $iv [optional] @return string @removed 7.0
mcrypt_ofb
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
MIT
#[Deprecated(since: '7.1')] function mcrypt_get_key_size($cipher, $module) { }
Get the key size of the specified cipher @link https://php.net/manual/en/function.mcrypt-get-key-size.php @param int|string $cipher @param string $module @return int @removed 7.2
mcrypt_get_key_size
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
MIT
#[Deprecated(since: '7.1')] function mcrypt_get_block_size($cipher, $module) { }
Get the block size of the specified cipher @link https://php.net/manual/en/function.mcrypt-get-block-size.php @param string|int $cipher <p> One of the MCRYPT_ciphername constants or the name of the algorithm as string. </p> @param string $module <p> One of the <b>MCRYPT_MODE_modename</b> constants, or one of the following strings: "ecb", "cbc", "cfb", "ofb", "nofb" or "stream".</p> @return int Gets the block size, as an integer. @removed 7.2
mcrypt_get_block_size
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
MIT
#[Deprecated(since: '7.1')] function mcrypt_get_cipher_name($cipher) { }
Get the name of the specified cipher @link https://php.net/manual/en/function.mcrypt-get-cipher-name.php @param int|string $cipher <p> One of the MCRYPT_ciphername constants or the name of the algorithm as string. </p> @return string|false This function returns the name of the cipher or false, if the cipher does not exist. @removed 7.2
mcrypt_get_cipher_name
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
MIT
#[Deprecated(since: '7.1')] function mcrypt_create_iv($size, $source = \MCRYPT_DEV_URANDOM) { }
Creates an initialization vector (IV) from a random source @link https://php.net/manual/en/function.mcrypt-create-iv.php @param int $size <p> Determines the size of the IV, parameter source (defaults to random value) specifies the source of the IV. </p> @param int $source [optional] <p> The source can be MCRYPT_RAND (system random number generator), MCRYPT_DEV_RANDOM (read data from /dev/random) and MCRYPT_DEV_URANDOM (read data from /dev/urandom). MCRYPT_RAND is the only one supported on Windows because Windows (of course) doesn't have /dev/random or /dev/urandom. </p> <p> When using MCRYPT_RAND, remember to call srand before mcrypt_create_iv to initialize the random number generator; it is not seeded automatically like rand is. </p> @return string|false the initialization vector, or false on error. @removed 7.2
mcrypt_create_iv
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
MIT
#[Deprecated(since: '7.1')] function mcrypt_list_algorithms($lib_dir = null) { }
Gets an array of all supported ciphers @link https://php.net/manual/en/function.mcrypt-list-algorithms.php @param string $lib_dir [optional] <p> Specifies the directory where all algorithms are located. If not specifies, the value of the mcrypt.algorithms_dir (php.ini) directive is used. </p> @return array an array with all the supported algorithms. @removed 7.2
mcrypt_list_algorithms
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
MIT
#[Deprecated(since: '7.1')] function mcrypt_list_modes($lib_dir = null) { }
Gets an array of all supported modes @link https://php.net/manual/en/function.mcrypt-list-modes.php @param string $lib_dir [optional] <p> Specifies the directory where all modes are located. If not specifies, the value of the mcrypt.modes_dir (php.ini) directive is used. </p> @return array an array with all the supported modes. @removed 7.2
mcrypt_list_modes
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
MIT
#[Deprecated(since: '7.1')] function mcrypt_get_iv_size($cipher, $module) { }
Returns the size of the IV belonging to a specific cipher/mode combination @link https://php.net/manual/en/function.mcrypt-get-iv-size.php @param string $cipher <p> One of the MCRYPT_ciphername constants of the name of the algorithm as string. </p> @param string $module <p> mode is one of the MCRYPT_MODE_modename constants or one of "ecb", "cbc", "cfb", "ofb", "nofb" or "stream". The IV is ignored in ECB mode as this mode does not require it. You will need to have the same IV (think: starting point) both at encryption and decryption stages, otherwise your encryption will fail. </p> @return int|false the size of the Initialisation Vector (IV) in bytes. On error the function returns false. If the IV is ignored in the specified cipher/mode combination zero is returned. @removed 7.2
mcrypt_get_iv_size
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
MIT
#[Deprecated(since: '7.1')] function mcrypt_encrypt($cipher, $key, $data, $mode, $iv = null) { }
Encrypts plaintext with given parameters @link https://php.net/manual/en/function.mcrypt-encrypt.php @param string $cipher <p> One of the MCRYPT_ciphername constants of the name of the algorithm as string. </p> @param string $key <p> The key with which the data will be encrypted. If it's smaller that the required keysize, it is padded with '\0'. It is better not to use ASCII strings for keys. </p> <p> It is recommended to use the mhash functions to create a key from a string. </p> @param string $data <p> The data that will be encrypted with the given cipher and mode. If the size of the data is not n * blocksize, the data will be padded with '\0'. </p> <p> The returned crypttext can be larger that the size of the data that is given by data. </p> @param string $mode <p> One of the MCRYPT_MODE_modename constants of one of "ecb", "cbc", "cfb", "ofb", "nofb" or "stream". </p> @param string $iv [optional] <p> Used for the initialisation in CBC, CFB, OFB modes, and in some algorithms in STREAM mode. If you do not supply an IV, while it is needed for an algorithm, the function issues a warning and uses an IV with all bytes set to '\0'. </p> @return string the encrypted data, as a string. @removed 7.2
mcrypt_encrypt
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
MIT
#[Deprecated(since: '7.1')] function mcrypt_decrypt($cipher, $key, $data, $mode, $iv = null) { }
Decrypts crypttext with given parameters @link https://php.net/manual/en/function.mcrypt-decrypt.php @param string $cipher <p> cipher is one of the MCRYPT_ciphername constants of the name of the algorithm as string. </p> @param string $key <p> key is the key with which the data is encrypted. If it's smaller that the required keysize, it is padded with '\0'. </p> @param string $data <p> data is the data that will be decrypted with the given cipher and mode. If the size of the data is not n * blocksize, the data will be padded with '\0'. </p> @param string $mode <p> mode is one of the MCRYPT_MODE_modename constants of one of "ecb", "cbc", "cfb", "ofb", "nofb" or "stream". </p> @param string $iv [optional] <p> The iv parameter is used for the initialisation in CBC, CFB, OFB modes, and in some algorithms in STREAM mode. If you do not supply an IV, while it is needed for an algorithm, the function issues a warning and uses an IV with all bytes set to '\0'. </p> @return string the decrypted data as a string. @removed 7.2
mcrypt_decrypt
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
MIT
#[Deprecated(since: '7.1')] function mcrypt_module_open($cipher, $cipher_directory, $mode, $mode_directory) { }
Opens the module of the algorithm and the mode to be used @link https://php.net/manual/en/function.mcrypt-module-open.php @param string $cipher <p> The algorithm to be used. </p> @param string $cipher_directory <p> The algorithm_directory and mode_directory are used to locate the encryption modules. When you supply a directory name, it is used. When you set one of these to the empty string (""), the value set by the mcrypt.algorithms_dir or mcrypt.modes_dir ini-directive is used. When these are not set, the default directories that are used are the ones that were compiled in into libmcrypt (usually /usr/local/lib/libmcrypt). </p> @param string $mode <p> The mode to be used. </p> @param string $mode_directory <p> </p> @return resource|false Normally it returns an encryption descriptor, or false on error. @removed 7.2
mcrypt_module_open
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
MIT
#[Deprecated(since: '7.1')] function mcrypt_generic_init($td, $key, $iv) { }
This function initializes all buffers needed for encryption @link https://php.net/manual/en/function.mcrypt-generic-init.php @param resource $td <p> The encryption descriptor. </p> @param string $key <p> The maximum length of the key should be the one obtained by calling mcrypt_enc_get_key_size and every value smaller than this is legal. </p> @param string $iv <p> The IV should normally have the size of the algorithms block size, but you must obtain the size by calling mcrypt_enc_get_iv_size. IV is ignored in ECB. IV MUST exist in CFB, CBC, STREAM, nOFB and OFB modes. It needs to be random and unique (but not secret). The same IV must be used for encryption/decryption. If you do not want to use it you should set it to zeros, but this is not recommended. </p> @return int|false The function returns a negative value on error, -3 when the key length was incorrect, -4 when there was a memory allocation problem and any other return value is an unknown error. If an error occurs a warning will be displayed accordingly. false is returned if incorrect parameters were passed. @removed 7.2
mcrypt_generic_init
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
MIT
#[Deprecated(since: '7.1')] function mcrypt_generic($td, $data) { }
This function encrypts data @link https://php.net/manual/en/function.mcrypt-generic.php @param resource $td <p> The encryption descriptor. </p> <p> The encryption handle should always be initialized with mcrypt_generic_init with a key and an IV before calling this function. Where the encryption is done, you should free the encryption buffers by calling mcrypt_generic_deinit. See mcrypt_module_open for an example. </p> @param string $data <p> The data to encrypt. </p> @return string the encrypted data. @removed 7.2
mcrypt_generic
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
MIT
#[Deprecated(since: '7.1')] function mdecrypt_generic($td, $data) { }
Decrypts data @link https://php.net/manual/en/function.mdecrypt-generic.php @param resource $td <p> An encryption descriptor returned by mcrypt_module_open </p> @param string $data <p> Encrypted data. </p> @return string @removed 7.2
mdecrypt_generic
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
MIT
#[Deprecated(since: '5.3')] function mcrypt_generic_end($td) { }
This function terminates encryption @link https://php.net/manual/en/function.mcrypt-generic-end.php @param resource $td @return bool @removed 7.0
mcrypt_generic_end
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
MIT
#[Deprecated(since: '7.1')] function mcrypt_generic_deinit($td) { }
This function deinitializes an encryption module @link https://php.net/manual/en/function.mcrypt-generic-deinit.php @param resource $td <p> The encryption descriptor. </p> @return bool true on success or false on failure. @removed 7.2
mcrypt_generic_deinit
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
MIT
#[Deprecated(since: '7.1')] function mcrypt_enc_self_test($td) { }
Runs a self test on the opened module @link https://php.net/manual/en/function.mcrypt-enc-self-test.php @param resource $td <p> The encryption descriptor. </p> @return int Returns 0 on success and a negative integer on failure @removed 7.2
mcrypt_enc_self_test
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
MIT
#[Deprecated(since: '7.1')] function mcrypt_enc_is_block_algorithm_mode($td) { }
Checks whether the encryption of the opened mode works on blocks @link https://php.net/manual/en/function.mcrypt-enc-is-block-algorithm-mode.php @param resource $td <p> The encryption descriptor. </p> @return bool true if the mode is for use with block algorithms, otherwise it returns false. @removed 7.2
mcrypt_enc_is_block_algorithm_mode
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
MIT
#[Deprecated(since: '7.1')] function mcrypt_enc_is_block_algorithm($td) { }
Checks whether the algorithm of the opened mode is a block algorithm @link https://php.net/manual/en/function.mcrypt-enc-is-block-algorithm.php @param resource $td <p> The encryption descriptor. </p> @return bool true if the algorithm is a block algorithm or false if it is a stream one. @removed 7.2
mcrypt_enc_is_block_algorithm
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
MIT
#[Deprecated(since: '7.1')] function mcrypt_enc_is_block_mode($td) { }
Checks whether the opened mode outputs blocks @link https://php.net/manual/en/function.mcrypt-enc-is-block-mode.php @param resource $td <p> The encryption descriptor. </p> @return bool true if the mode outputs blocks of bytes or false if it outputs bytes. @removed 7.2
mcrypt_enc_is_block_mode
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
MIT
#[Deprecated(since: '7.1')] function mcrypt_enc_get_block_size($td) { }
Returns the blocksize of the opened algorithm @link https://php.net/manual/en/function.mcrypt-enc-get-block-size.php @param resource $td <p> The encryption descriptor. </p> @return int the block size of the specified algorithm in bytes. @removed 7.2
mcrypt_enc_get_block_size
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
MIT
#[Deprecated(since: '7.1')] function mcrypt_enc_get_key_size($td) { }
Returns the maximum supported keysize of the opened mode @link https://php.net/manual/en/function.mcrypt-enc-get-key-size.php @param resource $td <p> The encryption descriptor. </p> @return int the maximum supported key size of the algorithm in bytes. @removed 7.2
mcrypt_enc_get_key_size
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
MIT
#[Deprecated(since: '7.1')] function mcrypt_enc_get_supported_key_sizes($td) { }
Returns an array with the supported keysizes of the opened algorithm @link https://php.net/manual/en/function.mcrypt-enc-get-supported-key-sizes.php @param resource $td <p> The encryption descriptor. </p> @return array an array with the key sizes supported by the algorithm specified by the encryption descriptor. If it returns an empty array then all key sizes between 1 and mcrypt_enc_get_key_size are supported by the algorithm. @removed 7.2
mcrypt_enc_get_supported_key_sizes
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
MIT
#[Deprecated(since: '7.1')] function mcrypt_enc_get_iv_size($td) { }
Returns the size of the IV of the opened algorithm @link https://php.net/manual/en/function.mcrypt-enc-get-iv-size.php @param resource $td <p> The encryption descriptor. </p> @return int the size of the IV, or 0 if the IV is ignored in the algorithm. @removed 7.2
mcrypt_enc_get_iv_size
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
MIT
#[Deprecated(since: '7.1')] function mcrypt_enc_get_algorithms_name($td) { }
Returns the name of the opened algorithm @link https://php.net/manual/en/function.mcrypt-enc-get-algorithms-name.php @param resource $td <p> The encryption descriptor. </p> @return string the name of the opened algorithm as a string. @removed 7.2
mcrypt_enc_get_algorithms_name
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
MIT
#[Deprecated(since: '7.1')] function mcrypt_enc_get_modes_name($td) { }
Returns the name of the opened mode @link https://php.net/manual/en/function.mcrypt-enc-get-modes-name.php @param resource $td <p> The encryption descriptor. </p> @return string the name as a string. @removed 7.2
mcrypt_enc_get_modes_name
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
MIT
#[Deprecated(since: '7.1')] function mcrypt_module_self_test($algorithm, $lib_dir = null) { }
This function runs a self test on the specified module @link https://php.net/manual/en/function.mcrypt-module-self-test.php @param string $algorithm <p> One of the <b>MCRYPT_ciphername</b> constants, or the name of the algorithm as string. </p> @param string $lib_dir [optional] <p> The optional lib_dir parameter can contain the location of where the algorithm module is on the system. </p> @return bool The function returns true if the self test succeeds, or false when if fails. @removed 7.2
mcrypt_module_self_test
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
MIT
#[Deprecated(since: '7.1')] function mcrypt_module_is_block_algorithm_mode($mode, $lib_dir = null) { }
Returns if the specified module is a block algorithm or not @link https://php.net/manual/en/function.mcrypt-module-is-block-algorithm-mode.php @param string $mode <p> The mode to check. </p> @param string $lib_dir [optional] <p> The optional lib_dir parameter can contain the location of where the algorithm module is on the system. </p> @return bool This function returns true if the mode is for use with block algorithms, otherwise it returns false. (e.g. false for stream, and true for cbc, cfb, ofb). @removed 7.2
mcrypt_module_is_block_algorithm_mode
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
MIT
#[Deprecated(since: '7.1')] function mcrypt_module_is_block_algorithm($algorithm, $lib_dir = null) { }
This function checks whether the specified algorithm is a block algorithm @link https://php.net/manual/en/function.mcrypt-module-is-block-algorithm.php @param string $algorithm <p> The algorithm to check. </p> @param string $lib_dir [optional] <p> The optional lib_dir parameter can contain the location of where the algorithm module is on the system. </p> @return bool This function returns true if the specified algorithm is a block algorithm, or false is it is a stream algorithm. @removed 7.2
mcrypt_module_is_block_algorithm
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
MIT
#[Deprecated(since: '7.1')] function mcrypt_module_is_block_mode($mode, $lib_dir = null) { }
Returns if the specified mode outputs blocks or not @link https://php.net/manual/en/function.mcrypt-module-is-block-mode.php @param string $mode <p> The mode to check. </p> @param string $lib_dir [optional] <p> The optional lib_dir parameter can contain the location of where the algorithm module is on the system. </p> @return bool This function returns true if the mode outputs blocks of bytes or false if it outputs just bytes. (e.g. true for cbc and ecb, and false for cfb and stream). @removed 7.2
mcrypt_module_is_block_mode
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
MIT
#[Deprecated(since: '7.1')] function mcrypt_module_get_algo_block_size($algorithm, $lib_dir = null) { }
Returns the blocksize of the specified algorithm @link https://php.net/manual/en/function.mcrypt-module-get-algo-block-size.php @param string $algorithm <p> The algorithm name. </p> @param string $lib_dir [optional] <p> This optional parameter can contain the location where the mode module is on the system. </p> @return int the block size of the algorithm specified in bytes. @removed 7.2
mcrypt_module_get_algo_block_size
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
MIT
#[Deprecated(since: '7.1')] function mcrypt_module_get_algo_key_size($algorithm, $lib_dir = null) { }
Returns the maximum supported keysize of the opened mode @link https://php.net/manual/en/function.mcrypt-module-get-algo-key-size.php @param string $algorithm <p> The algorithm name. </p> @param string $lib_dir [optional] <p> This optional parameter can contain the location where the mode module is on the system. </p> @return int This function returns the maximum supported key size of the algorithm specified in bytes. @removed 7.2
mcrypt_module_get_algo_key_size
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
MIT
#[Deprecated(since: '7.1')] function mcrypt_module_get_supported_key_sizes($algorithm, $lib_dir = null) { }
Returns an array with the supported keysizes of the opened algorithm @link https://php.net/manual/en/function.mcrypt-module-get-supported-key-sizes.php @param string $algorithm <p> The algorithm to used. </p> @param string $lib_dir [optional] <p> The optional lib_dir parameter can contain the location of where the algorithm module is on the system. </p> @return array an array with the key sizes supported by the specified algorithm. If it returns an empty array then all key sizes between 1 and mcrypt_module_get_algo_key_size are supported by the algorithm. @removed 7.2
mcrypt_module_get_supported_key_sizes
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
MIT
#[Deprecated(since: '7.1')] function mcrypt_module_close($td) { }
Closes the mcrypt module @link https://php.net/manual/en/function.mcrypt-module-close.php @param resource $td <p> The encryption descriptor. </p> @return bool true on success or false on failure. @removed 7.2
mcrypt_module_close
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mcrypt/mcrypt.php
MIT
#[Deprecated(replacement: "%class%->drop()")] public function dropDB($db) { }
Drops a database @link https://secure.php.net/manual/en/mongoclient.dropdb.php @param mixed $db The database to drop. Can be a MongoDB object or the name of the database. @return array The database response.
dropDB
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mongo/mongo.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mongo/mongo.php
MIT
#[Deprecated('This feature has been DEPRECATED as of version 1.2.3. Relying on this feature is highly discouraged. Please use MongoPool::getSize() instead.')] public function getPoolSize() { }
(PECL mongo &gt;= 1.2.0)<br/> Get pool size for connection pools @link https://php.net/manual/en/mongo.getpoolsize.php @return int Returns the current pool size. @see MongoPool::getSize()
getPoolSize
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mongo/mongo.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mongo/mongo.php
MIT
#[Deprecated('Pass a string of the form "mongodb://server1,server2" to the constructor instead of using this method.')] public function pairConnect() { }
Connects to paired database server @link https://secure.php.net/manual/en/mongo.pairconnect.php @throws MongoConnectionException @return bool
pairConnect
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mongo/mongo.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mongo/mongo.php
MIT
#[Deprecated('Relying on this feature is highly discouraged. Please use MongoPool::setSize() instead.')] public function setPoolSize($size) { }
(PECL mongo &gt;= 1.2.0)<br/> Set the size for future connection pools. @link https://php.net/manual/en/mongo.setpoolsize.php @param int $size <p>The max number of connections future pools will be able to create. Negative numbers mean that the pool will spawn an infinite number of connections.</p> @return bool Returns the former value of pool size. @see MongoPool::setSize()
setPoolSize
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mongo/mongo.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mongo/mongo.php
MIT
#[Deprecated('Pass array("persist" => $id) to the constructor instead of using this method.')] public function persistConnect($username = "", $password = "") { }
Creates a persistent connection with a database server @link https://secure.php.net/manual/en/mongo.persistconnect.php @param string $username A username used to identify the connection. @param string $password A password used to identify the connection. @throws MongoConnectionException @return bool If the connection was successful.
persistConnect
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mongo/mongo.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mongo/mongo.php
MIT
#[Deprecated('Pass "mongodb://server1,server2" and array("persist" => $id) to the constructor instead of using this method.')] public function pairPersistConnect($username = "", $password = "") { }
Creates a persistent connection with paired database servers @link https://secure.php.net/manual/en/mongo.pairpersistconnect.php @param string $username A username used to identify the connection. @param string $password A password used to identify the connection. @throws MongoConnectionException @return bool If the connection was successful.
pairPersistConnect
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mongo/mongo.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mongo/mongo.php
MIT
#[Deprecated('Use MongoDB::lastError() instead.')] public function lastError() { }
Check if there was an error on the most recent db operation performed @link https://secure.php.net/manual/en/mongo.lasterror.php @return array|null Returns the error, if there was one, or NULL. @see MongoDB::lastError()
lastError
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mongo/mongo.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mongo/mongo.php
MIT
#[Deprecated('Use MongoDB::prevError() instead.')] public function prevError() { }
Checks for the last error thrown during a database operation @link https://secure.php.net/manual/en/mongo.preverror.php @return array Returns the error and the number of operations ago it occurred. @see MongoDB::prevError()
prevError
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mongo/mongo.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mongo/mongo.php
MIT
#[Deprecated('Use MongoDB::resetError() instead.')] public function resetError() { }
Clears any flagged errors on the connection @link https://secure.php.net/manual/en/mongo.reseterror.php @return array Returns the database response. @see MongoDB::resetError()
resetError
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mongo/mongo.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mongo/mongo.php
MIT
#[Deprecated('Use MongoDB::forceError() instead.')] public function forceError() { }
Creates a database error on the database. @link https://secure.php.net/manual/en/mongo.forceerror.php @return bool The database response. @see MongoDB::forceError()
forceError
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mongo/mongo.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mongo/mongo.php
MIT
#[Deprecated('Use MongoCollection::drop() instead.')] public function dropCollection($coll) { }
(PECL mongo &gt;= 0.9.0)<br/> Drops a collection @link https://secure.php.net/manual/en/mongodb.dropcollection.php @param MongoCollection|string $coll MongoCollection or name of collection to drop. @return array Returns the database response. @see MongoCollection::drop()
dropCollection
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mongo/mongo.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mongo/mongo.php
MIT
#[Deprecated('Use MongoCollection::createIndex() instead.')] public function ensureIndex(array $keys, array $options = []) { }
Creates an index on the given field(s), or does nothing if the index already exists @link https://secure.php.net/manual/en/mongocollection.ensureindex.php @param array $keys Field or fields to use as index. @param array $options [optional] This parameter is an associative array of the form array("optionname" => `<boolean>`, ...). @return true always true @see MongoCollection::createIndex()
ensureIndex
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mongo/mongo.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mongo/mongo.php
MIT
#[Deprecated(since: '5.5')] function mysql_connect($server = 'ini_get("mysql.default_host")', $username = 'ini_get("mysql.default_user")', $password = 'ini_get("mysql.default_password")', $new_link = \false, $client_flags = 0) { }
Open a connection to a MySQL Server @link https://php.net/manual/en/function.mysql-connect.php @param string $server [optional] <p> The MySQL server. It can also include a port number. e.g. "hostname:port" or a path to a local socket e.g. ":/path/to/socket" for the localhost. </p> <p> If the PHP directive mysql.default_host is undefined (default), then the default value is 'localhost:3306'. In "ini.sql.safe-mode", this parameter is ignored and value 'localhost:3306' is always used. </p> @param string $username [optional] <p> The username. Default value is defined by mysql.default_user. In "ini.sql.safe-mode", this parameter is ignored and the name of the user that owns the server process is used. </p> @param string $password [optional] <p> The password. Default value is defined by mysql.default_password. In "ini.sql.safe-mode", this parameter is ignored and empty password is used. </p> @param bool $new_link [optional] <p> If a second call is made to <b>mysql_connect</b> with the same arguments, no new link will be established, but instead, the link identifier of the already opened link will be returned. The <i>new_link</i> parameter modifies this behavior and makes <b>mysql_connect</b> always open a new link, even if <b>mysql_connect</b> was called before with the same parameters. In "ini.sql.safe-mode", this parameter is ignored. </p> @param int $client_flags [optional] <p> The <i>client_flags</i> parameter can be a combination of the following constants: 128 (enable LOAD DATA LOCAL handling), <b>MYSQL_CLIENT_SSL</b>, <b>MYSQL_CLIENT_COMPRESS</b>, <b>MYSQL_CLIENT_IGNORE_SPACE</b> or <b>MYSQL_CLIENT_INTERACTIVE</b>. Read the section about for further information. In "ini.sql.safe-mode", this parameter is ignored. </p> @return resource|false a MySQL link identifier on success or false on failure. @removed 7.0
mysql_connect
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
MIT
#[Deprecated(since: '5.5')] function mysql_pconnect($server = 'ini_get("mysql.default_host")', $username = 'ini_get("mysql.default_user")', $password = 'ini_get("mysql.default_password")', $client_flags = null) { }
Open a persistent connection to a MySQL server @link https://php.net/manual/en/function.mysql-pconnect.php @param string $server [optional] <p> The MySQL server. It can also include a port number. e.g. "hostname:port" or a path to a local socket e.g. ":/path/to/socket" for the localhost. </p> <p> If the PHP directive mysql.default_host is undefined (default), then the default value is 'localhost:3306' </p> @param string $username [optional] <p> The username. Default value is the name of the user that owns the server process. </p> @param string $password [optional] <p> The password. Default value is an empty password. </p> @param int $client_flags [optional] <p> The <i>client_flags</i> parameter can be a combination of the following constants: 128 (enable LOAD DATA LOCAL handling), <b>MYSQL_CLIENT_SSL</b>, <b>MYSQL_CLIENT_COMPRESS</b>, <b>MYSQL_CLIENT_IGNORE_SPACE</b> or <b>MYSQL_CLIENT_INTERACTIVE</b>. </p> @return resource|false a MySQL persistent link identifier on success, or false on failure. @removed 7.0
mysql_pconnect
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
MIT
#[Deprecated(since: '5.5')] function mysql_close($link_identifier = null) { }
Close MySQL connection @link https://php.net/manual/en/function.mysql-close.php @param resource $link_identifier [optional] @return bool true on success or false on failure. @removed 7.0
mysql_close
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
MIT
#[Deprecated(since: '5.5')] function mysql_select_db($database_name, $link_identifier = null) { }
Select a MySQL database @link https://php.net/manual/en/function.mysql-select-db.php @param string $database_name <p> The name of the database that is to be selected. </p> @param resource $link_identifier [optional] @return bool true on success or false on failure. @removed 7.0
mysql_select_db
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
MIT
#[Deprecated(since: '5.5')] function mysql_query($query, $link_identifier = null) { }
Send a MySQL query @link https://php.net/manual/en/function.mysql-query.php @param string $query <p> An SQL query </p> <p> The query string should not end with a semicolon. Data inside the query should be properly escaped. </p> @param resource $link_identifier [optional] @return resource|bool For SELECT, SHOW, DESCRIBE, EXPLAIN and other statements returning resultset, <b>mysql_query</b> returns a resource on success, or false on error. </p> <p> For other type of SQL statements, INSERT, UPDATE, DELETE, DROP, etc, <b>mysql_query</b> returns true on success or false on error. </p> <p> The returned result resource should be passed to <b>mysql_fetch_array</b>, and other functions for dealing with result tables, to access the returned data. </p> <p> Use <b>mysql_num_rows</b> to find out how many rows were returned for a SELECT statement or <b>mysql_affected_rows</b> to find out how many rows were affected by a DELETE, INSERT, REPLACE, or UPDATE statement. </p> <p> <b>mysql_query</b> will also fail and return false if the user does not have permission to access the table(s) referenced by the query. @removed 7.0
mysql_query
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
MIT
#[Deprecated(since: '5.5')] function mysql_unbuffered_query($query, $link_identifier = null) { }
@deprecated 5.5 Send an SQL query to MySQL without fetching and buffering the result rows. @link https://php.net/manual/en/function.mysql-unbuffered-query.php @param string $query <p> The SQL query to execute. </p> <p> Data inside the query should be properly escaped. </p> @param resource $link_identifier [optional] @return resource|bool For SELECT, SHOW, DESCRIBE or EXPLAIN statements, <b>mysql_unbuffered_query</b> returns a resource on success, or false on error. </p> <p> For other type of SQL statements, UPDATE, DELETE, DROP, etc, <b>mysql_unbuffered_query</b> returns true on success or false on error. @removed 7.0
mysql_unbuffered_query
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
MIT
#[Deprecated('Use mysql_select_db() and mysql_query() instead', since: '5.3')] function mysql_db_query($database, $query, $link_identifier = null) { }
Selects a database and executes a query on it @link https://php.net/manual/en/function.mysql-db-query.php @param string $database <p> The name of the database that will be selected. </p> @param string $query <p> The MySQL query. </p> <p> Data inside the query should be properly escaped. </p> @param resource $link_identifier [optional] @return resource|bool a positive MySQL result resource to the query result, or false on error. The function also returns true/false for INSERT/UPDATE/DELETE queries to indicate success/failure. @removed 7.0 @see mysql_select_db() @see mysql_query()
mysql_db_query
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
MIT
#[Deprecated(since: '5.4')] function mysql_list_dbs($link_identifier = null) { }
List databases available on a MySQL server @link https://php.net/manual/en/function.mysql-list-dbs.php @param resource $link_identifier [optional] @return resource|false a result pointer resource on success, or false on failure. Use the <b>mysql_tablename</b> function to traverse this result pointer, or any function for result tables, such as <b>mysql_fetch_array</b>. @removed 7.0
mysql_list_dbs
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
MIT
#[Deprecated(since: '5.3')] function mysql_list_tables($database, $link_identifier = null) { }
List tables in a MySQL database @link https://php.net/manual/en/function.mysql-list-tables.php @param string $database <p> The name of the database </p> @param resource $link_identifier [optional] @return resource|false A result pointer resource on success or false on failure. <p> Use the <b>mysql_tablename</b> function to traverse this result pointer, or any function for result tables, such as <b>mysql_fetch_array</b>. </p> @removed 7.0
mysql_list_tables
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
MIT
#[Deprecated(since: '5.5')] function mysql_list_fields($database_name, $table_name, $link_identifier = null) { }
List MySQL table fields @link https://php.net/manual/en/function.mysql-list-fields.php @param string $database_name <p> The name of the database that's being queried. </p> @param string $table_name <p> The name of the table that's being queried. </p> @param resource $link_identifier [optional] @return resource|false A result pointer resource on success, or false on failure. </p> <p> The returned result can be used with <b>mysql_field_flags</b>, <b>mysql_field_len</b>, <b>mysql_field_name</b> <b>mysql_field_type</b>. @removed 7.0
mysql_list_fields
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
MIT
#[Deprecated(since: '5.5')] function mysql_list_processes($link_identifier = null) { }
List MySQL processes @link https://php.net/manual/en/function.mysql-list-processes.php @param resource $link_identifier [optional] @return resource|false A result pointer resource on success or false on failure. @removed 7.0
mysql_list_processes
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
MIT
#[Deprecated(since: '5.5')] function mysql_error($link_identifier = null) { }
Returns the text of the error message from previous MySQL operation @link https://php.net/manual/en/function.mysql-error.php @param resource $link_identifier [optional] @return string the error text from the last MySQL function, or '' (empty string) if no error occurred. @removed 7.0
mysql_error
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
MIT
#[Deprecated(since: '5.5')] function mysql_errno($link_identifier = null) { }
Returns the numerical value of the error message from previous MySQL operation @link https://php.net/manual/en/function.mysql-errno.php @param resource $link_identifier [optional] @return int the error number from the last MySQL function, or 0 (zero) if no error occurred. @removed 7.0
mysql_errno
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
MIT
#[Deprecated(since: '5.5')] function mysql_affected_rows($link_identifier = null) { }
Get number of affected rows in previous MySQL operation @link https://php.net/manual/en/function.mysql-affected-rows.php @param resource $link_identifier [optional] @return int the number of affected rows on success, and -1 if the last query failed. </p> <p> If the last query was a DELETE query with no WHERE clause, all of the records will have been deleted from the table but this function will return zero with MySQL versions prior to 4.1.2. </p> <p> When using UPDATE, MySQL will not update columns where the new value is the same as the old value. This creates the possibility that <b>mysql_affected_rows</b> may not actually equal the number of rows matched, only the number of rows that were literally affected by the query. </p> <p> The REPLACE statement first deletes the record with the same primary key and then inserts the new record. This function returns the number of deleted records plus the number of inserted records. @removed 7.0
mysql_affected_rows
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
MIT
#[Deprecated(since: '5.5')] function mysql_insert_id($link_identifier = null) { }
Get the ID generated in the last query @link https://php.net/manual/en/function.mysql-insert-id.php @param resource $link_identifier [optional] @return int The ID generated for an AUTO_INCREMENT column by the previous query on success, 0 if the previous query does not generate an AUTO_INCREMENT value, or false if no MySQL connection was established. @removed 7.0
mysql_insert_id
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
MIT
#[Deprecated(since: '5.5')] function mysql_result($result, $row, $field = 0) { }
Get result data @link https://php.net/manual/en/function.mysql-result.php @param resource $result @param int $row <p> The row number from the result that's being retrieved. Row numbers start at 0. </p> @param mixed $field [optional] <p> The name or offset of the field being retrieved. </p> <p> It can be the field's offset, the field's name, or the field's table dot field name (tablename.fieldname). If the column name has been aliased ('select foo as bar from...'), use the alias instead of the column name. If undefined, the first field is retrieved. </p> @return string The contents of one cell from a MySQL result set on success, or false on failure. @removed 7.0
mysql_result
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
MIT
#[Deprecated(since: '5.5')] function mysql_num_rows($result) { }
Get number of rows in result @link https://php.net/manual/en/function.mysql-num-rows.php @param resource $result <p>The result resource that is being evaluated. This result comes from a call to mysql_query().</p> @return int|false <p>The number of rows in the result set on success or FALSE on failure. </p> @removed 7.0
mysql_num_rows
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
MIT
#[Deprecated(since: '5.5')] function mysql_num_fields($result) { }
Get number of fields in result @link https://php.net/manual/en/function.mysql-num-fields.php @param resource $result @return int the number of fields in the result set resource on success or false on failure. @removed 7.0
mysql_num_fields
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
MIT
#[Deprecated(since: '5.5')] function mysql_fetch_row($result) { }
Get a result row as an enumerated array @link https://php.net/manual/en/function.mysql-fetch-row.php @param resource $result @return array an numerical array of strings that corresponds to the fetched row, or false if there are no more rows. </p> <p> <b>mysql_fetch_row</b> fetches one row of data from the result associated with the specified result identifier. The row is returned as an array. Each result column is stored in an array offset, starting at offset 0. @removed 7.0
mysql_fetch_row
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
MIT
#[Deprecated(since: '5.5')] function mysql_fetch_array($result, $result_type = \MYSQL_BOTH) { }
Fetch a result row as an associative array, a numeric array, or both @link https://php.net/manual/en/function.mysql-fetch-array.php @param resource $result @param int $result_type [optional] <p> The type of array that is to be fetched. It's a constant and can take the following values: <b>MYSQL_ASSOC</b>, <b>MYSQL_NUM</b>, and <b>MYSQL_BOTH</b>. </p> @return array|false an array of strings that corresponds to the fetched row, or false if there are no more rows. The type of returned array depends on how <i>result_type</i> is defined. By using <b>MYSQL_BOTH</b> (default), you'll get an array with both associative and number indices. Using <b>MYSQL_ASSOC</b>, you only get associative indices (as <b>mysql_fetch_assoc</b> works), using <b>MYSQL_NUM</b>, you only get number indices (as <b>mysql_fetch_row</b> works). </p> <p> If two or more columns of the result have the same field names, the last column will take precedence. To access the other column(s) of the same name, you must use the numeric index of the column or make an alias for the column. For aliased columns, you cannot access the contents with the original column name. @removed 7.0
mysql_fetch_array
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
MIT
#[Deprecated(since: '5.5')] function mysql_fetch_assoc($result) { }
Fetch a result row as an associative array @link https://php.net/manual/en/function.mysql-fetch-assoc.php @param resource $result @return array an associative array of strings that corresponds to the fetched row, or false if there are no more rows. </p> <p> If two or more columns of the result have the same field names, the last column will take precedence. To access the other column(s) of the same name, you either need to access the result with numeric indices by using <b>mysql_fetch_row</b> or add alias names. See the example at the <b>mysql_fetch_array</b> description about aliases. @removed 7.0
mysql_fetch_assoc
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
MIT
#[Deprecated(since: '5.5')] function mysql_fetch_object($result, $class_name = 'stdClass', array $params = null) { }
@template T Fetch a result row as an object @link https://php.net/manual/en/function.mysql-fetch-object.php @param resource $result @param class-string<T> $class_name [optional] <p> The name of the class to instantiate, set the properties of and return. If not specified, a <b>stdClass</b> object is returned. </p> @param array $params [optional] <p> An optional array of parameters to pass to the constructor for <i>class_name</i> objects. </p> @return T|stdClass an object with string properties that correspond to the fetched row, or false if there are no more rows. </p> <p> mysql_fetch_row fetches one row of data from the result associated with the specified result identifier. The row is returned as an array. Each result column is stored in an array offset, starting at offset 0. @removed 7.0
mysql_fetch_object
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
MIT
#[Deprecated(since: '5.5')] function mysql_data_seek($result, $row_number) { }
Move internal result pointer @link https://php.net/manual/en/function.mysql-data-seek.php @param resource $result @param int $row_number <p> The desired row number of the new result pointer. </p> @return bool true on success or false on failure. @removed 7.0
mysql_data_seek
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
MIT
#[Deprecated(since: '5.5')] function mysql_fetch_lengths($result) { }
Get the length of each output in a result @link https://php.net/manual/en/function.mysql-fetch-lengths.php @param resource $result @return array|false An array of lengths on success or false on failure. @removed 7.0
mysql_fetch_lengths
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
MIT
#[Deprecated(since: '5.5')] function mysql_fetch_field($result, $field_offset = 0) { }
Get column information from a result and return as an object @link https://php.net/manual/en/function.mysql-fetch-field.php @param resource $result @param int $field_offset [optional] <p> The numerical field offset. If the field offset is not specified, the next field that was not yet retrieved by this function is retrieved. The <i>field_offset</i> starts at 0. </p> @return object an object containing field information. The properties of the object are: </p> <p> name - column name table - name of the table the column belongs to def - default value of the column max_length - maximum length of the column not_null - 1 if the column cannot be null primary_key - 1 if the column is a primary key unique_key - 1 if the column is a unique key multiple_key - 1 if the column is a non-unique key numeric - 1 if the column is numeric blob - 1 if the column is a BLOB type - the type of the column unsigned - 1 if the column is unsigned zerofill - 1 if the column is zero-filled @removed 7.0
mysql_fetch_field
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
MIT
#[Deprecated(since: '5.5')] function mysql_field_seek($result, $field_offset) { }
Set result pointer to a specified field offset @link https://php.net/manual/en/function.mysql-field-seek.php @param resource $result @param int $field_offset @return bool true on success or false on failure. @removed 7.0
mysql_field_seek
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
MIT
#[Deprecated(since: '5.5')] function mysql_field_name($result, $field_offset) { }
Get the name of the specified field in a result @link https://php.net/manual/en/function.mysql-field-name.php @param resource $result @param int $field_offset @return string|false The name of the specified field index on success or false on failure. @removed 7.0
mysql_field_name
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
MIT
#[Deprecated(since: '5.5')] function mysql_field_table($result, $field_offset) { }
Get name of the table the specified field is in @link https://php.net/manual/en/function.mysql-field-table.php @param resource $result @param int $field_offset @return string The name of the table on success. @removed 7.0
mysql_field_table
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
MIT
#[Deprecated(since: '5.5')] function mysql_field_len($result, $field_offset) { }
Returns the length of the specified field @link https://php.net/manual/en/function.mysql-field-len.php @param resource $result @param int $field_offset @return int|false The length of the specified field index on success or false on failure. @removed 7.0
mysql_field_len
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
MIT
#[Deprecated(since: '5.5')] function mysql_field_type($result, $field_offset) { }
Get the type of the specified field in a result @link https://php.net/manual/en/function.mysql-field-type.php @param resource $result @param int $field_offset @return string The returned field type will be one of "int", "real", "string", "blob", and others as detailed in the MySQL documentation. @removed 7.0
mysql_field_type
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
MIT
#[Deprecated(since: '5.5')] function mysql_field_flags($result, $field_offset) { }
Get the flags associated with the specified field in a result @link https://php.net/manual/en/function.mysql-field-flags.php @param resource $result @param int $field_offset @return string|false a string of flags associated with the result or false on failure. <p> The following flags are reported, if your version of MySQL is current enough to support them: "not_null", "primary_key", "unique_key", "multiple_key", "blob", "unsigned", "zerofill", "binary", "enum", "auto_increment" and "timestamp". </p> @removed 7.0
mysql_field_flags
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
MIT
#[Deprecated(replacement: 'mysql_real_escape_string(%parameter0%)', since: '5.3')] function mysql_escape_string($unescaped_string) { }
Escapes a string for use in a mysql_query @link https://php.net/manual/en/function.mysql-escape-string.php @param string $unescaped_string <p> The string that is to be escaped. </p> @return string the escaped string. @removed 7.0
mysql_escape_string
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
MIT
#[Deprecated(since: '5.5')] function mysql_real_escape_string($unescaped_string, $link_identifier = null) { }
Escapes special characters in a string for use in an SQL statement @link https://php.net/manual/en/function.mysql-real-escape-string.php @param string $unescaped_string <p> The string that is to be escaped. </p> @param resource $link_identifier [optional] @return string|false the escaped string, or false on error. @removed 7.0
mysql_real_escape_string
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
MIT
#[Deprecated(since: '5.5')] function mysql_stat($link_identifier = null) { }
Get current system status @link https://php.net/manual/en/function.mysql-stat.php @param resource $link_identifier [optional] @return string a string with the status for uptime, threads, queries, open tables, flush tables and queries per second. For a complete list of other status variables, you have to use the SHOW STATUS SQL command. If <i>link_identifier</i> is invalid, null is returned. @removed 7.0
mysql_stat
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
MIT
#[Deprecated(since: '5.5')] function mysql_thread_id($link_identifier = null) { }
Return the current thread ID @link https://php.net/manual/en/function.mysql-thread-id.php @param resource $link_identifier [optional] @return int|false The thread ID on success or false on failure. @removed 7.0
mysql_thread_id
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
MIT
#[Deprecated(since: '5.5')] function mysql_client_encoding($link_identifier = null) { }
Returns the name of the character set @link https://php.net/manual/en/function.mysql-client-encoding.php @param resource $link_identifier [optional] @return string the default character set name for the current connection. @removed 7.0
mysql_client_encoding
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
MIT
#[Deprecated(since: '5.5')] function mysql_ping($link_identifier = null) { }
Ping a server connection or reconnect if there is no connection @link https://php.net/manual/en/function.mysql-ping.php @param resource $link_identifier [optional] @return bool true if the connection to the server MySQL server is working, otherwise false. @removed 7.0
mysql_ping
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
MIT
#[Deprecated(since: '5.5')] function mysql_get_client_info() { }
Get MySQL client info @link https://php.net/manual/en/function.mysql-get-client-info.php @return string The MySQL client version. @removed 7.0
mysql_get_client_info
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
MIT
#[Deprecated(since: '5.5')] function mysql_get_host_info($link_identifier = null) { }
Get MySQL host info @link https://php.net/manual/en/function.mysql-get-host-info.php @param resource $link_identifier [optional] @return string a string describing the type of MySQL connection in use for the connection or false on failure. @removed 7.0
mysql_get_host_info
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
MIT
#[Deprecated(since: '5.5')] function mysql_get_proto_info($link_identifier = null) { }
Get MySQL protocol info @link https://php.net/manual/en/function.mysql-get-proto-info.php @param resource $link_identifier [optional] @return int|false the MySQL protocol on success or false on failure. @removed 7.0
mysql_get_proto_info
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
MIT
#[Deprecated(since: '5.5')] function mysql_get_server_info($link_identifier = null) { }
Get MySQL server info @link https://php.net/manual/en/function.mysql-get-server-info.php @param resource $link_identifier [optional] @return string|false the MySQL server version on success or false on failure. @removed 7.0
mysql_get_server_info
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
MIT
#[Deprecated(since: '5.5')] function mysql_info($link_identifier = null) { }
Get information about the most recent query @link https://php.net/manual/en/function.mysql-info.php @param resource $link_identifier [optional] @return string|false information about the statement on success, or false on failure. See the example below for which statements provide information, and what the returned value may look like. Statements that are not listed will return false. @removed 7.0
mysql_info
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
MIT
#[Deprecated(replacement: 'Use mysqli_set_charset instead', since: '5.5')] function mysql_set_charset($charset, $link_identifier = null) { }
Sets the client character set @link https://php.net/manual/en/function.mysql-set-charset.php @param string $charset <p> A valid character set name. </p> @param resource $link_identifier [optional] @return bool true on success or false on failure. @since 5.2.3 @removed 7.0 @see mysqli_set_charset()
mysql_set_charset
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
MIT
#[Deprecated(replacement: "mysql_db_query(%parametersList%)", since: '5.3')] function mysql($database_name, $query, $link_identifier) { }
@param $database_name @param $query @param $link_identifier [optional] @removed 7.0
mysql
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
MIT
#[Deprecated(replacement: 'mysql_num_rows(%parametersList%)', since: '5.5')] function mysql_numrows($result) { }
(PHP 4, PHP 5) Alias of mysql_num_rows() @link https://php.net/manual/en/function.mysql-num-rows.php @param resource $result <p>The result resource that is being evaluated. This result comes from a call to mysql_query().</p> @return int|false <p>The number of rows in the result set on success or FALSE on failure. </p> @removed 7.0
mysql_numrows
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
MIT
#[Deprecated(since: '5.5')] function mysql_db_name($result, $row, $field = null) { }
Retrieves database name from the call to {@see mysql_list_dbs} @link https://php.net/manual/en/function.mysql-db-name.php @param resource $result <p> The result pointer from a call to <b>mysql_list_dbs</b>. </p> @param int $row <p> The index into the result set. </p> @param mixed $field [optional] <p> The field name. </p> @return string|false the database name on success, and false on failure. If false is returned, use <b>mysql_error</b> to determine the nature of the error. @removed 7.0
mysql_db_name
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
MIT
#[Deprecated(replacement: 'mysql_db_name(%parametersList%)', since: '5.5')] function mysql_dbname($result, $row, $field) { }
@param $result @param $row @param $field [optional] @removed 7.0
mysql_dbname
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
MIT
#[Deprecated(since: '5.5')] function mysql_tablename($result, $i) { }
Get table name of field @link https://php.net/manual/en/function.mysql-tablename.php @param resource $result <p> A result pointer resource that's returned from <b>mysql_list_tables</b>. </p> @param int $i <p> The integer index (row/table number) </p> @return string|false The name of the table on success or false on failure. <p> Use the <b>mysql_tablename</b> function to traverse this result pointer, or any function for result tables, such as <b>mysql_fetch_array</b>. </p> @removed 7.0
mysql_tablename
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
MIT
#[Deprecated(since: '5.5')] function mysql_table_name($result, $row, $field) { }
@param $result @param $row @param $field [optional] @removed 7.0
mysql_table_name
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysql/mysql.php
MIT
#[TentativeType] public function begin_transaction(#[LanguageLevelTypeAware(['8.0' => 'int'], default: '')] $flags = 0, #[LanguageLevelTypeAware(['8.0' => 'string|null'], default: '')] $name = null) : bool { }
Starts a transaction @link https://secure.php.net/manual/en/mysqli.begin-transaction.php @param int $flags [optional] @param string $name [optional] @return bool true on success or false on failure. @since 5.5
begin_transaction
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] public function change_user(string $username, string $password, ?string $database) : bool { }
Changes the user of the specified database connection @link https://php.net/manual/en/mysqli.change-user.php @param string $username <p> The MySQL user name. </p> @param string $password <p> The MySQL password. </p> @param string $database <p> The database to change to. </p> <p> If desired, the null value may be passed resulting in only changing the user and not selecting a database. To select a database in this case use the <b>mysqli_select_db</b> function. </p> @return bool true on success or false on failure.
change_user
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT
#[TentativeType] public function character_set_name() : string { }
Returns the current character set of the database connection @link https://php.net/manual/en/mysqli.character-set-name.php @return string The current character set of the connection
character_set_name
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/mysqli/mysqli.php
MIT