3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a=1; $b=0; $c=1; $dis=''; $dis = $dis . "a"; $dis = $dis . "b"; $dis= $ dis . "c"; print_r($dis);
Output for 5.4.0 - 5.4.26
Parse error: syntax error, unexpected 'dis' (T_STRING), expecting variable (T_VARIABLE) or '$' in /in/IlZ37 on line 11
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_STRING, expecting T_VARIABLE or '$' in /in/IlZ37 on line 11
Process exited with code 255.