mirror of
https://github.com/php/php-src.git
synced 2024-10-21 00:12:34 +00:00
15 lines
255 B
Plaintext
15 lines
255 B
Plaintext
|
--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"
|