3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $x = 5; $y = 6; $c = $x + $y; echo "Hasil $x + $y = " . c; ?>
based on agbcZ
Output for 7.2.0
Warning: Use of undefined constant c - assumed 'c' (this will throw an Error in a future version of PHP) in /in/Q0jRp on line 6 Hasil 5 + 6 = c
Output for 5.3.19 - 7.1.10
Notice: Use of undefined constant c - assumed 'c' in /in/Q0jRp on line 6 Hasil 5 + 6 = c