--TEST-- Bug #46051 (SplFileInfo::openFile - memory overlap) --FILE-- openFile("", false, []); } catch (TypeError $e) { } var_dump($x->getPathName()); ?> --EXPECTF-- string(%d) "%sbug46051.php"