3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = 5; $y = 6; $c = $x + $y; echo "Hasil $x + $y = " c; ?>
Output for 5.5.24 - 5.5.30, 5.6.8 - 5.6.15
Parse error: syntax error, unexpected 'c' (T_STRING), expecting ',' or ';' in /in/agbcZ on line 6
Process exited with code 255.

preferences:
168.58 ms | 940 KiB | 23 Q