xref: /PHP-8.1/Zend/tests/anon/001.phpt (revision 7aacc705)
1--TEST--
2declare bare anonymous class
3--FILE--
4<?php
5var_dump(new class{});
6?>
7--EXPECTF--
8object(class@%s)#%d (0) {
9}
10