3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $i = 4; echo "${i*20}";
Output for 7.2.0
Warning: Use of undefined constant i - assumed 'i' (this will throw an Error in a future version of PHP) in /in/cKaIo on line 4 Warning: A non-numeric value encountered in /in/cKaIo on line 4 Notice: Undefined variable: 0 in /in/cKaIo on line 4
Output for 7.1.0 - 7.1.10
Notice: Use of undefined constant i - assumed 'i' in /in/cKaIo on line 4 Warning: A non-numeric value encountered in /in/cKaIo on line 4 Notice: Undefined variable: 0 in /in/cKaIo on line 4
Output for 5.5.24 - 7.0.20
Notice: Use of undefined constant i - assumed 'i' in /in/cKaIo on line 4 Notice: Undefined variable: 0 in /in/cKaIo on line 4
Output for 5.3.18 - 5.4.45
Notice: Undefined variable: 0 in /in/cKaIo on line 4