mirror of
https://github.com/php/php-src.git
synced 2024-12-19 06:50:17 +08:00
15 lines
192 B
PHP
15 lines
192 B
PHP
--TEST--
|
|
Bug #67874 Crash in array_map()
|
|
--FILE--
|
|
<?php
|
|
$a = array(1,2,3);
|
|
$data = array($a);
|
|
$data = array_map('current', $data);
|
|
var_dump($data);
|
|
?>
|
|
--EXPECT--
|
|
array(1) {
|
|
[0]=>
|
|
int(1)
|
|
}
|