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