- Output for 5.5.24 - 5.5.30, 5.6.8 - 5.6.15
- Parse error: syntax error, unexpected 'function' (T_FUNCTION) in /in/9FEcY on line 9
Process exited with code 255.
<?php
function(string $test, int $test2)
{
print_r($test);
print_r($test2);
}
function(1, 'test');
function('test', 1);