Some new PHP Core function are introduced to PHP 5.5.x
1. array_column()
Syntax:
array array_column ( array $array , mixed $column_key [, mixed $index_key = null ] )
– It returns the values from a single column of the array.
2. boolval()
Syntax:
boolean boolval ( mixed $var )
– Return boolean value of a variable.
3. json_last_error_msg()
Syntax:
string json_last_error_msg ( void )
– Returns the error string of the last json_encode() / json_decode() call
4. password_get_info()
Syntax:
array password_get_info ( string $hash )
– This function will returns an array of information about the given hash
5. password_hash()
Syntax:
string password_hash ( string $password , integer $algo [, array $options ] )
password_hash() creates a new password hash using a strong one-way hashing algorithm.
8. password_needs_rehash()
Syntax:
boolean password_needs_rehash ( string $hash , string $algo [, string $options ] )
Checks if the given hash matches the given options
9. password_verify()
Syntax:
boolean password_verify ( string $password , string $hash )
Verifies that the given hash matches the given password.