xref: /PHP-8.3/ext/spl/tests/bug65213.phpt (revision a555cc0b)
1--TEST--
2Bug #65213 (cannot cast SplFileInfo to boolean)
3--FILE--
4<?php
5
6$o = new SplFileInfo('.');
7var_dump((bool) $o);
8
9?>
10--EXPECT--
11bool(true)
12