cal_days_in_month

(PHP 4 >= 4.1.0, PHP 5, PHP 7) Return the number of days in a month for a given year and calendar int cal_days_in_month ( int $calendar, int $month, int $year ) This function will return the number of days in the month of year for the specified calendar. Parameters: calendar Calendar to use for calculation month Month in the selected

password_needs_rehash

(PHP 5 >= 5.5.0, PHP 7) Checks if the given hash matches the given options boolean password_needs_rehash ( string $hash, integer $algo [, array $options ] ) This function checks to see if the supplied hash implements the algorithm and options provided. If not, it is assumed that the hash needs to be rehashed. Parameters: hash A hash created by password_hash().

password_hash

(PHP 5 >= 5.5.0, PHP 7) Creates a password hash string password_hash ( string $password, integer $algo [, array $options ] ) password_hash() creates a new password hash using a strong one-way hashing algorithm. password_hash() is compatible with crypt(). Therefore, password hashes created by crypt() can be used with password_hash(). The following algorithms are currently supported: PASSWORD_DEFAULT - Use the bcrypt a

password_get_info

(PHP 5 >= 5.5.0, PHP 7) Returns information about the given hash array password_get_info ( string $hash ) When passed in a valid hash created by an algorithm supported by password_hash(), this function will return an array of information about that hash. Parameters: hash A hash created by password_hash(). Returns: Returns an associative array

openssl_x509_read

(PHP 4 >= 4.0.6, PHP 5, PHP 7) Parse an X.509 certificate and return a resource identifier for it resource openssl_x509_read ( mixed $x509certdata ) openssl_x509_read() parses the certificate supplied by x509certdata and returns a resource identifier for it. Parameters: x509certdata openssl_x509_read() parses the certificate supplied by x509certdata and returns a resou

openssl_x509_parse

(PHP 4 >= 4.0.6, PHP 5, PHP 7) Parse an X509 certificate and return the information as an array array openssl_x509_parse ( mixed $x509cert [, bool $shortnames = true ] ) openssl_x509_parse() returns information about the supplied x509cert, including fields such as subject name, issuer name, purposes, valid from and valid to dates etc. Parameters: x509cert openssl_x509

openssl_x509_free

(PHP 4 >= 4.0.6, PHP 5, PHP 7) Free certificate resource void openssl_x509_free ( resource $x509cert ) openssl_x509_free() frees the certificate associated with the specified x509cert resource from memory. Parameters: x509cert openssl_x509_free() frees the certificate associated with the specified x509cert resource from memory. Returns: No va

openssl_x509_fingerprint

(PHP 5.6, PHP 7) Calculates the fingerprint, or digest, of a given X.509 certificate bool openssl_x509_fingerprint ( mixed $x509 [, string $hash_algorithm = "sha1" [, bool $raw_output = FALSE ]] ) openssl_x509_fingerprint() returns the digest of x509 as a string. Parameters: x509 See Key/Certificate parameters for a list of valid values. hash_algo

openssl_x509_export

(PHP 4 >= 4.2.0, PHP 5, PHP 7) Exports a certificate as a string bool openssl_x509_export ( mixed $x509, string &$output [, bool $notext = TRUE ] ) openssl_x509_export() stores x509 into a string named by output in a PEM encoded format. Parameters: x509 See Key/Certificate parameters for a list of valid values. output On success

openssl_x509_export_to_file

(PHP 4 >= 4.2.0, PHP 5, PHP 7) Exports a certificate to file bool openssl_x509_export_to_file ( mixed $x509, string $outfilename [, bool $notext = TRUE ] ) openssl_x509_export_to_file() stores x509 into a file named by outfilename in a PEM encoded format. Parameters: x509 See Key/Certificate parameters for a list of valid values. outfilename