File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / sapi / cli / tests / 019.phpt
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue Feb 21 23:48:06 2012 UTC (12 years, 4 months ago) by misho
Branches: php, MAIN
CVS tags: v5_4_3elwix, v5_4_29p0, v5_4_29, v5_4_20p0, v5_4_20, v5_4_17p0, v5_4_17, v5_3_10, HEAD
php

    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>