Annotation of embedaddon/php/sapi/cli/tests/019.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: CLI php -i
! 3: --SKIPIF--
! 4: <?php
! 5: include "skipif.inc";
! 6: if (substr(PHP_OS, 0, 3) == 'WIN') {
! 7: die ("skip not for Windows");
! 8: }
! 9: ?>
! 10: --FILE--
! 11: <?php
! 12:
! 13: $php = getenv('TEST_PHP_EXECUTABLE');
! 14:
! 15:
! 16: echo `"$php" -n -i`;
! 17:
! 18: echo "\nDone\n";
! 19: ?>
! 20: --EXPECTF--
! 21: phpinfo()
! 22: PHP Version => %s
! 23: %a
! 24: PHP License
! 25: This program is free software; you can redistribute it and/or modify
! 26: it under the terms of the PHP License as published by the PHP Group
! 27: and included in the distribution in the file: LICENSE
! 28:
! 29: This program is distributed in the hope that it will be useful,
! 30: but WITHOUT ANY WARRANTY; without even the implied warranty of
! 31: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
! 32:
! 33: If you did not receive a copy of the PHP license, or have any
! 34: questions about PHP licensing, please contact license@php.net.
! 35:
! 36: Done
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>