"Fossies" - the Fresh Open Source Software Archive

Member "php-7.4.1/sapi/cgi/tests/001.phpt" (17 Dec 2019, 324 Bytes) of package /linux/www/php-7.4.1.tar.xz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "001.phpt": 7.3.12_vs_7.4.0.

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