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-$iL); }
based on RC3vv
Output for 5.2.1 - 5.6.21, 7.0.0 - 7.1.0
Notice: Undefined variable: fL in /in/fEmQA on line 4 Notice: Undefined variable: nL in /in/fEmQA on line 6 Notice: Undefined variable: iL in /in/fEmQA on line 8 F0: -INFF1: -INFF2: -INFF3: -INFF4: -INFF5: -INFF6: -INFF7: -INFF8: -INFF9: -INFF10: -INFF11: -INFF12: -INFF13: -INFF14: -INFF15: -INFF16: -INFF17: -INFF18: -INFF19: -INFF20: -INF
Output for hhvm-3.12.0
F0: -INFF1: -INFF2: -INFF3: -INFF4: -INFF5: -INFF6: -INFF7: -INFF8: -INFF9: -INFF10: -INFF11: -INFF12: -INFF13: -INFF14: -INFF15: -INFF16: -INFF17: -INFF18: -INFF19: -INFF20: -INF
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.0.4 - 5.2.0
Notice: Undefined variable: fL in /in/fEmQA on line 4 Notice: Undefined variable: nL in /in/fEmQA on line 6 Notice: Undefined variable: iL in /in/fEmQA on line 8 F0: -1.2345678910112E+32F1: -1.2345678910111E+64F2: -1.2345678910111E+95F3: -1.2345678910111E+125F4: -1.2345678910111E+154F5: -1.2345678910111E+182F6: -1.2345678910111E+209F7: -1.2345678910111E+235F8: -1.2345678910111E+260F9: -1.2345678910111E+284F10: -1.2345678910111E+306F11: -1.8446741604574E+19F12: -1.8446497160131E+19F13: -1.8422052715889E+19F14: -1.5977608291687E+19F15: 2.2846683412851E+20F16: 2.4672911076149E+22F17: 2.4691173352782E+24F18: 2.4691355975548E+26F19: 2.4691357801776E+28F20: 2.4691357820038E+30
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: fL in /in/fEmQA on line 4 Notice: Undefined variable: nL in /in/fEmQA on line 6 Notice: Undefined variable: iL in /in/fEmQA on line 8 F0: -1.2345678910112E+32F1: -1.2345678910111E+64F2: -1.2345678910111E+95F3: -1.2345678910111E+125F4: -1.2345678910111E+154F5: -1.2345678910111E+182F6: -1.2345678910111E+209F7: -1.2345678910111E+235F8: -1.2345678910111E+260F9: -1.2345678910111E+284F10: -1.2345678910111E+306F11: -1.8446741604574E+19F12: -1.8446497160131E+19F13: -1.8422052715889E+19F14: -1.5977608291687E+19F15: 2.2846683412851E+20F16: 2.4672911076149E+22F17: 2.4691173352782E+24F18: 2.4691355975548E+26F19: 2.4691357801776E+28F20: 2.4691357820038E+30