3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $b = 3; $x = [ b'(-)' <=['-']=> b'(-)'] <=> ($b -=- $b); var_dump($x);
based on 7mKAD
Output for hhvm-3.18.5 - 3.22.0, 7.1.0 - 7.3.0alpha1
int(1)
Output for 5.6.0 - 5.6.30
Parse error: syntax error, unexpected '>' in /in/TcE7c on line 4
Process exited with code 255.