"Fossies" - the Fresh Open Source Software Archive

Member "php-8.0.28-src/ext/phar/tests/001.phpt" (14 Feb 2023, 167 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 Phar::apiVersion
    3 --SKIPIF--
    4 <?php if (!extension_loaded("phar")) die("skip"); ?>
    5 --FILE--
    6 <?php
    7 var_dump(Phar::apiVersion());
    8 ?>
    9 --EXPECT--
   10 string(5) "1.1.1"