xref: /PHP-8.1/sapi/cgi/tests/001.phpt (revision c245898b)
1--TEST--
2version string
3--SKIPIF--
4<?php include "skipif.inc"; ?>
5--FILE--
6<?php
7
8include "include.inc";
9
10$php = get_cgi_path();
11reset_env_vars();
12
13var_dump(`$php -n -v`);
14
15echo "Done\n";
16?>
17--EXPECTF--
18string(%d) "PHP %s (cgi%s (built: %s
19Copyright (c) The PHP Group
20Zend Engine v%s, Copyright (c) Zend Technologies
21"
22Done
23