Fix class core

Fixed get_php_memory function