using Php;

namespace PhpNative {
    public void echo_static (string value, string php_file, int php_line) throws Error {
        stdout.printf ("%s", value);
    }

    public zval echo_zval (zval value, string php_file, int php_line) throws Error {
        echo_static (zval_to_string (value), php_file, php_line);
        return zval.null_value ();
    }
}
