3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $end = 20; for($f = 0; $f <= $end; $f++) { $fL .= $f; for($n = $f+1; $n <= $end+1; $n++) { $nL .= $n; for($i = $n +1; $i <= $end+2; $i++) { $iL .= $i; } } echo "F".$f.": ".(($fL-$nL)+$fL-$i1); }
based on qC3f9
Output for 5.2.1 - 5.6.28, 7.0.0 - 7.1.0
Notice: Undefined variable: fL in /in/RC3vv on line 4 Notice: Undefined variable: nL in /in/RC3vv on line 6 Notice: Undefined variable: iL in /in/RC3vv on line 8 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F0: -1.2345678910111E+32 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F1: -1.2345678910111E+64 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F2: -1.2345678910111E+95 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F3: -1.2345678910111E+125 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F4: -1.2345678910111E+154 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F5: -1.2345678910111E+182 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F6: -1.2345678910111E+209 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F7: -1.2345678910111E+235 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F8: -1.2345678910111E+260 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F9: -1.2345678910111E+284 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F10: -1.2345678910111E+306 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F11: -INF Notice: Undefined variable: i1 in /in/RC3vv on line 11 F12: -INF Notice: Undefined variable: i1 in /in/RC3vv on line 11 F13: -INF Notice: Undefined variable: i1 in /in/RC3vv on line 11 F14: -INF Notice: Undefined variable: i1 in /in/RC3vv on line 11 F15: -INF Notice: Undefined variable: i1 in /in/RC3vv on line 11 F16: -INF Notice: Undefined variable: i1 in /in/RC3vv on line 11 F17: -INF Notice: Undefined variable: i1 in /in/RC3vv on line 11 F18: -INF Notice: Undefined variable: i1 in /in/RC3vv on line 11 F19: -INF Notice: Undefined variable: i1 in /in/RC3vv on line 11 F20: -INF
Output for hhvm-3.12.0
Notice: Undefined variable: i1 in /in/RC3vv on line 11 F0: -1.2345678910111E+32 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F1: -1.2345678910111E+64 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F2: -1.2345678910111E+95 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F3: -1.2345678910111E+125 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F4: -1.2345678910111E+154 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F5: -1.2345678910111E+182 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F6: -1.2345678910111E+209 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F7: -1.2345678910111E+235 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F8: -1.2345678910111E+260 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F9: -1.2345678910111E+284 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F10: -1.2345678910111E+306 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F11: -INF Notice: Undefined variable: i1 in /in/RC3vv on line 11 F12: -INF Notice: Undefined variable: i1 in /in/RC3vv on line 11 F13: -INF Notice: Undefined variable: i1 in /in/RC3vv on line 11 F14: -INF Notice: Undefined variable: i1 in /in/RC3vv on line 11 F15: -INFF16: -INFF17: -INFF18: -INFF19: -INFF20: -INF
Output for hhvm-3.10.0
Notice: Undefined variable: i1 in /in/RC3vv on line 44 F0: -1.2345678910111E+32 Notice: Undefined variable: i1 in /in/RC3vv on line 44 F1: -1.2345678910111E+64 Notice: Undefined variable: i1 in /in/RC3vv on line 44 F2: -1.2345678910111E+95 Notice: Undefined variable: i1 in /in/RC3vv on line 44 F3: -1.2345678910111E+125 Notice: Undefined variable: i1 in /in/RC3vv on line 44 F4: -1.2345678910111E+154 Notice: Undefined variable: i1 in /in/RC3vv on line 44 F5: -1.2345678910111E+182 Notice: Undefined variable: i1 in /in/RC3vv on line 44 F6: -1.2345678910111E+209 Notice: Undefined variable: i1 in /in/RC3vv on line 44 F7: -1.2345678910111E+235 Notice: Undefined variable: i1 in /in/RC3vv on line 44 F8: -1.2345678910111E+260 Notice: Undefined variable: i1 in /in/RC3vv on line 44 F9: -1.2345678910111E+284 Notice: Undefined variable: i1 in /in/RC3vv on line 44 F10: -1.2345678910111E+306 Notice: Undefined variable: i1 in /in/RC3vv on line 44 F11: -INF Notice: Undefined variable: i1 in /in/RC3vv on line 44 F12: -INF Notice: Undefined variable: i1 in /in/RC3vv on line 44 F13: -INF Notice: Undefined variable: i1 in /in/RC3vv on line 44 F14: -INF Notice: Undefined variable: i1 in /in/RC3vv on line 44 F15: -INFF16: -INFF17: -INFF18: -INFF19: -INFF20: -INF
Output for 5.0.4 - 5.2.0
Notice: Undefined variable: fL in /in/RC3vv on line 4 Notice: Undefined variable: nL in /in/RC3vv on line 6 Notice: Undefined variable: iL in /in/RC3vv on line 8 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F0: -1.2345678910111E+32 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F1: -1.2345678910111E+64 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F2: -1.2345678910111E+95 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F3: -1.2345678910111E+125 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F4: -1.2345678910111E+154 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F5: -1.2345678910111E+182 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F6: -1.2345678910111E+209 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F7: -1.2345678910111E+235 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F8: -1.2345678910111E+260 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F9: -1.2345678910111E+284 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F10: -1.2345678910111E+306 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F11: -9223369567718993785 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F12: -9223125123276573583 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F13: -9198680679034553381 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F14: -6754236254832533179 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F15: 2.3769020616537E+20 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F16: 2.4682134448186E+22 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F17: 2.4691265586502E+24 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F18: 2.4691356897885E+26 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F19: 2.4691357810999E+28 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F20: 2.469135782013E+30
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: fL in /in/RC3vv on line 4 Notice: Undefined variable: nL in /in/RC3vv on line 6 Notice: Undefined variable: iL in /in/RC3vv on line 8 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F0: -1.2345678910111E+32 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F1: -1.2345678910111E+64 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F2: -1.2345678910111E+95 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F3: -1.2345678910111E+125 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F4: -1.2345678910111E+154 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F5: -1.2345678910111E+182 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F6: -1.2345678910111E+209 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F7: -1.2345678910111E+235 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F8: -1.2345678910111E+260 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F9: -1.2345678910111E+284 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F10: -1.2345678910111E+306 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F11: -9223369567718993785 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F12: -9223125123276573583 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F13: -9198680679034553381 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F14: -6754236254832533179 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F15: 2.3769020616537E+20 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F16: 2.4682134448186E+22 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F17: 2.4691265586502E+24 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F18: 2.4691356897885E+26 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F19: 2.4691357810999E+28 Notice: Undefined variable: i1 in /in/RC3vv on line 11 F20: 2.469135782013E+30