"Fossies" - the Fresh Open Source Software Archive

Member "php-8.0.28-src/Zend/tests/anon/001.phpt" (14 Feb 2023, 119 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 declare bare anonymous class
    3 --FILE--
    4 <?php
    5 var_dump(new class{});
    6 ?>
    7 --EXPECTF--
    8 object(class@%s)#%d (0) {
    9 }