use zephir_get_intval instead of zephir_get_numberval