xref: /PHP-7.2/sapi/cgi/tests/001.phpt (revision a0370cd7)
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) 1997-20%s The PHP Group
20Zend Engine v%s, Copyright (c) 1998-20%s Zend Technologies
21"
22Done
23