mirror of
https://github.com/php/php-src.git
synced 2024-09-25 20:07:26 +00:00
13 lines
275 B
PHP
13 lines
275 B
PHP
--TEST--
|
|
Bug #52573 (SplFileObject::fscanf Segmentation fault)
|
|
--FILE--
|
|
<?php
|
|
|
|
$result = null;
|
|
$f = new SplFileObject(__FILE__, 'r');
|
|
$f->fscanf('<?php // %s', $result);
|
|
|
|
?>
|
|
--EXPECTF--
|
|
Warning: Parameter 3 to fscanf() expected to be a reference, value given in %s on line 5
|