vajexal
vajexal
few changes - `shuffle` returns `true` as in php - reset keys even with 1 element array ```php $x = [2 => 1]; shuffle($x); var_dump($x); // kphp master: [2 =>...
Closes #359
Currently this code won't compile ```php $x = tuple(1, true); var_dump(empty($x)); // error: no matching function for call to 'f$empty(std::tuple&)' ``` But if we add implementation for `tuple` there is...
in php `null` can be passed as callback to perform zip operation ```php var_dump(array_map(null, [1, 2, 3])); // [1, 2, 3] // in kphp: Argument 'callback' should be function pointer,...
Closes #1013
In 1.x branch StatCache never expires