- Output for 5.3.0 - 5.3.14, 5.4.0 - 5.4.4
- Parse error: syntax error, unexpected '}' in Mp1gn on line 8
Process exited with code 255.
<?php
class TestClass {
private $items = array(1,2,3);
private $factor = 3;
function getMultiplied() {
print_r(array_map(function($item) { return $item * $this->factor }));
}