mirror of
https://github.com/php/php-src.git
synced 2024-12-04 23:34:25 +08:00
15 lines
255 B
PHP
15 lines
255 B
PHP
--TEST--
|
|
Bug #46051 (SplFileInfo::openFile - memory overlap)
|
|
--FILE--
|
|
<?php
|
|
|
|
$x = new splfileinfo(__FILE__);
|
|
|
|
try {
|
|
$x->openFile(NULL, NULL, NULL);
|
|
} catch (Exception $e) { }
|
|
|
|
var_dump($x->getPathName());
|
|
--EXPECTF--
|
|
%unicode|string%(%d) "%sbug46051.php"
|