Several functions were given new, optional parameters in PHP 5.4:
PHP Core:
SCANDIR_SORT_NONE
New method parameters in PHP 5.4.0:
OpenSSL: