"Fossies" - the Fresh Open Source Software Archive

Member "php-8.0.28-src/ext/posix/tests/001.phpt" (14 Feb 2023, 205 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 posix_access() with bogus paths
    3 --SKIPIF--
    4 <?php if (!extension_loaded('posix')) echo 'skip'; ?>
    5 --FILE--
    6 <?php
    7 
    8 var_dump(posix_access(str_repeat('bogus path', 1042)));
    9 
   10 ?>
   11 --EXPECT--
   12 bool(false)