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ode($p)));
Output for 5.4.0 - 5.4.10, 7.0.0 - 7.1.0
Parse error: syntax error, unexpected 'namespace' (T_NAMESPACE) in /in/l2h5s(4) : eval()'d code on line 2
Process exited with code 255.
Output for hhvm-3.10.0 - 3.12.0
Fatal error: syntax error, unexpected T_NAMESPACE in /in/l2h5s(4)(e008316a78e4a4670692449f9a7332eb) : eval()'d code on line 2
Output for 5.4.11 - 5.6.28
Parse error: syntax error, unexpected 'namespace' (T_NAMESPACE) in /in/l2h5s(4) : eval()'d code on line 2
Output for 5.3.0 - 5.3.29
Parse error: syntax error, unexpected T_NAMESPACE in /in/l2h5s(4) : eval()'d code on line 2
Process exited with code 255.
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.2.17
Parse error: syntax error, unexpected T_STRING in /in/l2h5s(4) : eval()'d code on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected T_STRING in /in/l2h5s(4) : eval()'d code on line 2
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/l2h5s(4) : eval()'d code on line 2
Process exited with code 255.