"Fossies" - the Fresh Open Source Software Archive

Member "php-8.0.28-src/sapi/cli/tests/001.phpt" (14 Feb 2023, 299 Bytes) of package /windows/www/php-8.0.28-src.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) PHP source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

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