<?php
function void($arg = null, $arg2 = 'val', $arg3 = false)
{
var_dump($arg, $arg2, $arg3);
}
void($arg3 = true);
void(default, default, true);
- Output for 5.4.0 - 5.4.27
- Parse error: syntax error, unexpected 'default' (T_DEFAULT), expecting ')' in /in/TWvgU on line 9
Process exited with code 255. - Output for 5.3.0 - 5.3.28
- Parse error: syntax error, unexpected T_DEFAULT, expecting ')' in /in/TWvgU on line 9
Process exited with code 255.
preferences:
184.68 ms | 1395 KiB | 64 Q