xref: /PHP-5.3/sapi/cli/tests/001.phpt (revision 1b002cf3)
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) 1997-20%d The PHP Group
17Zend Engine v%s, Copyright (c) 1998-20%d Zend Technologies
18"
19Done
20