3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php [$lhs, $rhs] = ['', ''] + explode('/', '2017-01-01/2017-01-02', 2);
based on k3bQ7
Output for 7.1.0 - 7.3.0rc3
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.0.20
Parse error: syntax error, unexpected '=' in /in/jFQgD on line 3
Process exited with code 255.
Output for hhvm-3.18.4 - 3.21.0
Fatal error: Uncaught Error: syntax error, unexpected '=' in /in/jFQgD:3 Stack trace: #0 {main}
Process exited with code 255.