3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $i = rand(); $h = rand(); $a = 1; for($l=0;$l<1000;$l++){ $a = $a+$i*$h; } echo $a;
Output for 7.1.0
3.90641687078E+20
Output for 7.0.14
3.3949174697621E+20
Output for 7.0.8
3.4127183618857E+21
Output for 7.0.7
7.370646392882E+19
Output for 7.0.6
1.1339776517119E+21
Output for 7.0.5
1.5042513334357E+21
Output for 7.0.4
6.0045693679274E+20
Output for 7.0.3
1.3971231082838E+20
Output for 7.0.2
1.2262313816456E+20
Output for 7.0.1
3.0954311573474E+20
Output for 7.0.0
1.3499138812652E+21
Output for hhvm-3.12.0
1.4977795560769E+21
Output for hhvm-3.10.0
6.7475026266461E+20
Output for 5.6.28
1.5668206505437E+21
Output for 5.6.23
9.7442564701461E+20
Output for 5.6.22
9.9525837938455E+20
Output for 5.6.21
2.1913779678722E+21
Output for 5.6.20
1.1686028880215E+21
Output for 5.6.19
9.2114075741953E+20
Output for 5.6.18
3.6966179698023E+20
Output for 5.6.17
1.3294494924638E+19
Output for 5.6.16
1.5198112699519E+21
Output for 5.6.15
3.2964268452669E+21
Output for 5.6.14
1.2648766552242E+21
Output for 5.6.13
4.4121661441571E+20
Output for 5.6.12
8.9217586573698E+20
Output for 5.6.11
3.737344357447E+21
Output for 5.6.10
5.6248902763136E+19
Output for 5.6.9
2.0425933995688E+21
Output for 5.6.8
2.1730978114259E+21
Output for 5.6.7
2.8466139687192E+21
Output for 5.6.6
8.6344167208936E+20
Output for 5.6.5
1.1206493596837E+21
Output for 5.6.4
2.1230616131472E+21
Output for 5.6.3
1.2038493087996E+21
Output for 5.6.2
2.9013324431003E+21
Output for 5.6.1
2.6747883911876E+21
Output for 5.6.0
1.7212791458621E+20
Output for 5.5.37
2.0634974348095E+21
Output for 5.5.36
6.472470087803E+20
Output for 5.5.35
5.0780116176783E+20
Output for 5.5.34
3.5982428992192E+21
Output for 5.5.33
5.5817524883274E+20
Output for 5.5.32
3.3283967314416E+20
Output for 5.5.31
6.7291359567434E+20
Output for 5.5.30
2.623281141844E+21
Output for 5.5.29
5.6002843978038E+20
Output for 5.5.28
1.6523885388284E+21
Output for 5.5.27
2.6961323382837E+20
Output for 5.5.26
1.0132013555067E+21
Output for 5.5.25
6.5056787008795E+20
Output for 5.5.24
1.0726684057372E+21
Output for 5.5.23
3.7546654083792E+20
Output for 5.5.22
3.626739346081E+19
Output for 5.5.21
2.0003221093653E+21
Output for 5.5.20
6.1976131147903E+20
Output for 5.5.19
2.1116995260022E+21
Output for 5.5.18
3.0045695442477E+21
Output for 5.5.16
1.9567281578239E+21
Output for 5.5.15
1.9915681391694E+19
Output for 5.5.14
1.465822682836E+19
Output for 5.5.13
2.8052534622287E+20
Output for 5.5.12
9.6246342454176E+20
Output for 5.5.11
1.6339861509304E+20
Output for 5.5.10
3.6899920839179E+19
Output for 5.5.9
1.0660541438314E+21
Output for 5.5.8
4.5076688261889E+19
Output for 5.5.7
1.7060750737983E+20
Output for 5.5.6
8.3339863465755E+19
Output for 5.5.5
2.9897869567565E+20
Output for 5.5.4
2.7116113871832E+20
Output for 5.5.3
6.0489025323898E+20
Output for 5.5.2
2.5994316290758E+20
Output for 5.5.1
1.483543622103E+21
Output for 5.5.0
2.2281946986311E+21
Output for 5.4.45
2.4355755584232E+20
Output for 5.4.44
2.7257643291561E+21
Output for 5.4.43
1.8757735798564E+21
Output for 5.4.42
1.7188870181095E+20
Output for 5.4.41
1.3386145245639E+21
Output for 5.4.40
5.8094646530519E+20
Output for 5.4.39
2.4179119138204E+21
Output for 5.4.38
5.3422434543554E+20
Output for 5.4.37
3.3287939682405E+21
Output for 5.4.36
1.0307023122915E+21
Output for 5.4.35
4.6636509051952E+20
Output for 5.4.34
1.5452611382645E+19
Output for 5.4.32
4.6052754553862E+20
Output for 5.4.31
3.5643492960947E+21
Output for 5.4.30
2.4721164442921E+21
Output for 5.4.29
1.385546813807E+21
Output for 5.4.28
2.235516380011E+21
Output for 5.4.27
1.4910955028354E+21
Output for 5.4.26
3.3972014870376E+19
Output for 5.4.25
9.3821905730925E+20
Output for 5.4.24
2.1103492321233E+20
Output for 5.4.23
1.9373885609403E+21
Output for 5.4.22
2.2098956054197E+20
Output for 5.4.21
9.7980293331104E+20
Output for 5.4.20
3.7076447884551E+21
Output for 5.4.19
3.1771444181043E+21
Output for 5.4.18
5.2799006803223E+19
Output for 5.4.17
1.2024934543462E+21
Output for 5.4.16
4.6781683456809E+20
Output for 5.4.15
3.5436360176636E+19
Output for 5.4.14
1.3995382843437E+21
Output for 5.4.13
1.8432056262592E+21
Output for 5.4.12
6.4178935074499E+20
Output for 5.4.11
1.3785182401172E+21
Output for 5.4.10
1.6261868849516E+21
Output for 5.4.9
1.0471078849981E+21
Output for 5.4.8
1.943920866058E+20
Output for 5.4.7
5.1325954740806E+19
Output for 5.4.6
8.7774567613134E+20
Output for 5.4.5
4.7124383837964E+20
Output for 5.4.4
2.4691739830368E+21
Output for 5.4.3
2.1460976632608E+21
Output for 5.4.2
1.6737322986531E+21
Output for 5.4.1
1.3603969393428E+21
Output for 5.4.0
5.5148765832026E+20
Output for 5.3.29
2.1407761493771E+21
Output for 5.3.28
5.789826752801E+19
Output for 5.3.27
2.4080523378276E+21
Output for 5.3.26
6.0992544626115E+20
Output for 5.3.25
1.2260234754393E+21
Output for 5.3.24
3.1446003971533E+21
Output for 5.3.23
1.1386339313177E+21
Output for 5.3.22
1.2907463978801E+21
Output for 5.3.21
2.5876641183047E+21
Output for 5.3.20
6.4194656406098E+20
Output for 5.3.19
3.541992682824E+20
Output for 5.3.18
1.9347405694079E+21
Output for 5.3.17
1.1844681482016E+21
Output for 5.3.16
4.0509453963374E+19
Output for 5.3.15
3.5564412802515E+21
Output for 5.3.14
1.0549826185955E+21
Output for 5.3.13
1.0901448588114E+21
Output for 5.3.12
5.2226086289321E+20
Output for 5.3.11
1.4667042664819E+21
Output for 5.3.10
9.3574609924552E+20
Output for 5.3.9
8.0876900922041E+20
Output for 5.3.8
2.1933800308427E+21
Output for 5.3.7
3.0378959642965E+20
Output for 5.3.6
1.9930632721421E+21
Output for 5.3.5
3.6103803210542E+20
Output for 5.3.4
2.251293319686E+21
Output for 5.3.3
1.5540051741696E+21
Output for 5.3.2
1.6227764743483E+21
Output for 5.3.1
6.8072455103691E+20
Output for 5.3.0
6.8892442054986E+20
Output for 5.2.17
4.4908783625116E+20
Output for 5.2.16
1.2349918930967E+21
Output for 5.2.15
4.3023012952321E+20
Output for 5.2.14
7.5734337562444E+19
Output for 5.2.13
9.2840977686482E+18
Output for 5.2.12
1.1115785049863E+21
Output for 5.2.11
1.7015417681076E+20
Output for 5.2.10
9.2389801260924E+20
Output for 5.2.9
3.9565462336459E+20
Output for 5.2.8
1.4815102406331E+20
Output for 5.2.7
2.0325594703455E+21
Output for 5.2.6
1.6474810465635E+21
Output for 5.2.5
1.9586696548079E+20
Output for 5.2.4
3.1386487185772E+21
Output for 5.2.3
4.6621670422602E+20
Output for 5.2.2
1.3881064830916E+21
Output for 5.2.1
2.3259044429994E+21
Output for 5.2.0
1.647714126285E+21
Output for 5.1.6
1.2758608305392E+21
Output for 5.1.5
8.3792064384244E+20
Output for 5.1.4
2.824632693658E+20
Output for 5.1.3
4437070636439342001
Output for 5.1.2
3.4681370158102E+21
Output for 5.1.1
1.2096686842172E+21
Output for 5.1.0
1.0827102314871E+21
Output for 5.0.5
2.1982635501229E+21
Output for 5.0.4
1.0470807958888E+21
Output for 5.0.3
2.1441510943045E+20
Output for 5.0.2
1.1762818428382E+21
Output for 5.0.1
2.5181688210643E+21
Output for 5.0.0
2.0173009987414E+21
Output for 4.4.9
1.5534460456801E+20
Output for 4.4.8
1.0140415109635E+21
Output for 4.4.7
1.0512111846499E+21
Output for 4.4.6
7.7170183173338E+20
Output for 4.4.5
4.1385039165349E+19
Output for 4.4.4
4.1036930563937E+19
Output for 4.4.3
5.6512894006879E+20
Output for 4.4.2
7.0711324794717E+20
Output for 4.4.1
7.6832921247334E+20
Output for 4.4.0
1.0560589777764E+21
Output for 4.3.11
2.3237037260168E+19
Output for 4.3.10
8.2239562494719E+20
Output for 4.3.9
1.4339615042867E+21
Output for 4.3.8
3.4749370541008E+20
Output for 4.3.7
8.2496847159851E+20
Output for 4.3.6
1.2699953693251E+21
Output for 4.3.5
1.8070255491485E+20
Output for 4.3.4
3.3683397511348E+20
Output for 4.3.3
2.4187643843232E+20
Output for 4.3.2
5.709839333032E+20
Output for 4.3.1
2.6768907647409E+21
Output for 4.3.0
1.5463198770829E+20