optimize to php_zop_key_status