Add support for PHP 5.4

I've updated the reference of the function "function_entry" for "zend_ function_entry" (more info: https://bugs.php.net/bug.php?id=60016) and the "zend_hash_copy" (https://bugs.php.net/bug.php?id=59731&edit=1), now it will compile on machines with PHP 5.4