mirror of
https://github.com/php/php-src.git
synced 2024-12-15 04:45:03 +08:00
19 lines
339 B
PHP
19 lines
339 B
PHP
--TEST--
|
|
Bug #70398 (SIGSEGV, Segmentation fault zend_ast_destroy_ex)
|
|
--FILE--
|
|
<?php
|
|
|
|
define("FILE_STREAM", fopen("php://temp", "r"));
|
|
|
|
define("FILE_STREAMS", array(fopen("php://temp", "r")));
|
|
|
|
var_dump(FILE_STREAM);
|
|
var_dump(FILE_STREAMS);
|
|
?>
|
|
--EXPECTF--
|
|
resource(%d) of type (stream)
|
|
array(1) {
|
|
[0]=>
|
|
resource(%d) of type (stream)
|
|
}
|