using Php;

namespace PhpNative {
    public string zend_version_static (string php_file, int php_line) throws Error {
        return "no-zend runtime-std v%s runtime-core v%s".printf (VALAPHP_RUNTIME_STD_VERSION, VALAPHP_RUNTIME_CORE_VERSION);
    }

    public zval zend_version_zval (string php_file, int php_line) throws Error {
        return zval.string_value (zend_version_static (php_file, php_line));
    }
}
