blob: a11da5fdab2a9d683b1306b40aeccd34cf44cef0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
--TEST--
array_sum() on array with references
--FILE--
<?php
$n = "10";
$n .= "0";
$nums = [&$n, 100];
var_dump(array_sum($nums));
var_dump($n);
?>
--EXPECT--
int(200)
string(3) "100"
|