New Functions
PHP 5.3.x introduced some new functions:
PHP Core:
Date/Time:
GMP:
Hash:
IMAP:
-
imap_gc()
- Clears IMAP cache.
-
imap_utf8_to_mutf7()
- Encode a UTF-8 string to modified UTF-7.
-
imap_mutf7_to_utf8()
- Decode a modified UTF-7 string to UTF-8.
JSON:
libXML:
MySQL Improved:
OpenSSL:
-
openssl_random_pseudo_bytes()
- Returns a string of the length specified filled with
random pseudo bytes.
PCNTL:
PCRE:
Semaphore:
-
msg_queue_exists()
- Check whether a message queue exists.
-
shm_has_var()
- Checks whether a specific exists.
The following functions are now natively implemented, meaning they
are always available no matter the operating system: