3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $i = 1; for($f = 0; $f <= 20; $f++) { echo "F".$f." = ".($i+pow($f))."\n"; $i++; }
based on EpaHF
Output for 4.3.0 - 5.6.28, 7.0.0 - 7.1.0
Warning: pow() expects exactly 2 parameters, 1 given in /in/ajlg1 on line 4 F0 = 1 Warning: pow() expects exactly 2 parameters, 1 given in /in/ajlg1 on line 4 F1 = 2 Warning: pow() expects exactly 2 parameters, 1 given in /in/ajlg1 on line 4 F2 = 3 Warning: pow() expects exactly 2 parameters, 1 given in /in/ajlg1 on line 4 F3 = 4 Warning: pow() expects exactly 2 parameters, 1 given in /in/ajlg1 on line 4 F4 = 5 Warning: pow() expects exactly 2 parameters, 1 given in /in/ajlg1 on line 4 F5 = 6 Warning: pow() expects exactly 2 parameters, 1 given in /in/ajlg1 on line 4 F6 = 7 Warning: pow() expects exactly 2 parameters, 1 given in /in/ajlg1 on line 4 F7 = 8 Warning: pow() expects exactly 2 parameters, 1 given in /in/ajlg1 on line 4 F8 = 9 Warning: pow() expects exactly 2 parameters, 1 given in /in/ajlg1 on line 4 F9 = 10 Warning: pow() expects exactly 2 parameters, 1 given in /in/ajlg1 on line 4 F10 = 11 Warning: pow() expects exactly 2 parameters, 1 given in /in/ajlg1 on line 4 F11 = 12 Warning: pow() expects exactly 2 parameters, 1 given in /in/ajlg1 on line 4 F12 = 13 Warning: pow() expects exactly 2 parameters, 1 given in /in/ajlg1 on line 4 F13 = 14 Warning: pow() expects exactly 2 parameters, 1 given in /in/ajlg1 on line 4 F14 = 15 Warning: pow() expects exactly 2 parameters, 1 given in /in/ajlg1 on line 4 F15 = 16 Warning: pow() expects exactly 2 parameters, 1 given in /in/ajlg1 on line 4 F16 = 17 Warning: pow() expects exactly 2 parameters, 1 given in /in/ajlg1 on line 4 F17 = 18 Warning: pow() expects exactly 2 parameters, 1 given in /in/ajlg1 on line 4 F18 = 19 Warning: pow() expects exactly 2 parameters, 1 given in /in/ajlg1 on line 4 F19 = 20 Warning: pow() expects exactly 2 parameters, 1 given in /in/ajlg1 on line 4 F20 = 21
Output for hhvm-3.12.0
Warning: pow() expects exactly 2 parameters, 1 given in /in/ajlg1 on line 4 F0 = 1 Warning: pow() expects exactly 2 parameters, 1 given in /in/ajlg1 on line 4 F1 = 2 Warning: pow() expects exactly 2 parameters, 1 given in /in/ajlg1 on line 4 F2 = 3 Warning: pow() expects exactly 2 parameters, 1 given in /in/ajlg1 on line 4 F3 = 4 Warning: pow() expects exactly 2 parameters, 1 given in /in/ajlg1 on line 4 F4 = 5 Warning: pow() expects exactly 2 parameters, 1 given in /in/ajlg1 on line 4 F5 = 6 Warning: pow() expects exactly 2 parameters, 1 given in /in/ajlg1 on line 4 F6 = 7 Warning: pow() expects exactly 2 parameters, 1 given in /in/ajlg1 on line 4 F7 = 8 Warning: pow() expects exactly 2 parameters, 1 given in /in/ajlg1 on line 4 F8 = 9 Warning: pow() expects exactly 2 parameters, 1 given in /in/ajlg1 on line 4 F9 = 10 Warning: pow() expects exactly 2 parameters, 1 given in /in/ajlg1 on line 4 F10 = 11 Warning: pow() expects exactly 2 parameters, 1 given in /in/ajlg1 on line 4 F11 = 12 Warning: pow() expects exactly 2 parameters, 1 given in /in/ajlg1 on line 4 F12 = 13 Warning: pow() expects exactly 2 parameters, 1 given in /in/ajlg1 on line 4 F13 = 14 Warning: pow() expects exactly 2 parameters, 1 given in /in/ajlg1 on line 4 F14 = 15 Warning: pow() expects exactly 2 parameters, 1 given in /in/ajlg1 on line 4 F15 = 16 F16 = 17 F17 = 18 F18 = 19 F19 = 20 F20 = 21
Output for hhvm-3.10.0

Process exited with code 153.