xref: /PHP-5.6/ext/spl/tests/bug65213.phpt (revision 2bcf8a6c)
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===DONE===
11--EXPECT--
12bool(true)
13===DONE===
14