3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x=23; $xx=$x; $a=50; $q=1; $qq=0.07; $s=0; for ($i=$qq;; $i=$i+$i*$a*0.01) { $x-=$i; //echo $i."\n"; if ($x <0) break; $y=$x; $s++; $c=$i; } echo ($c)."////".$s."\\\\\\ \n".($xx-$x).">>>n>>".(-$x)."\nend>>>". ($y); ?>

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.60.0100.01018.56
8.3.50.0070.00716.23
8.3.40.0070.00718.84
8.3.30.0000.01418.68
8.3.20.0060.00319.34
8.3.10.0070.00021.90
8.3.00.0030.00519.68
8.2.180.0040.01118.66
8.2.170.0040.01718.82
8.2.160.0070.00722.96
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0070.00022.13
8.2.120.0080.00026.35
8.2.110.0060.00322.20
8.2.100.0040.00819.50
8.2.90.0080.00019.26
8.2.80.0040.00417.97
8.2.70.0000.00817.75
8.2.60.0050.00318.00
8.2.50.0040.00418.10
8.2.40.0060.00320.59
8.2.30.0000.00719.33
8.2.20.0040.00417.99
8.2.10.0050.00318.02
8.2.00.0000.00917.99
8.1.280.0030.01225.92
8.1.270.0040.00423.83
8.1.260.0000.00726.35
8.1.250.0050.00328.09
8.1.240.0060.00321.25
8.1.230.0080.00319.09
8.1.220.0000.00917.74
8.1.210.0040.00418.77
8.1.200.0060.00317.00
8.1.190.0000.00817.13
8.1.180.0040.00418.10
8.1.170.0080.00018.47
8.1.160.0070.00018.80
8.1.150.0040.00420.08
8.1.140.0040.00419.50
8.1.130.0070.00018.92
8.1.120.0000.00717.45
8.1.110.0080.00017.45
8.1.100.0000.00817.49
8.1.90.0000.00717.47
8.1.80.0060.00317.46
8.1.70.0040.00417.46
8.1.60.0000.00917.46
8.1.50.0000.00917.40
8.1.40.0040.00417.55
8.1.30.0040.00417.53
8.1.20.0060.00317.50
8.1.10.0000.00817.53
8.1.00.0030.00617.43
8.0.300.0000.00820.06
8.0.290.0070.00016.75
8.0.280.0050.00318.45
8.0.270.0000.00717.30
8.0.260.0000.00619.01
8.0.250.0000.00717.05
8.0.240.0000.00816.99
8.0.230.0000.00716.92
8.0.220.0000.00716.86
8.0.210.0040.00416.91
8.0.200.0040.00417.06
8.0.190.0060.00316.88
8.0.180.0060.00316.92
8.0.170.0040.00416.90
8.0.160.0080.00016.84
8.0.150.0080.00016.89
8.0.140.0030.00516.96
8.0.130.0030.00313.33
8.0.120.0040.00416.80
8.0.110.0040.00416.93
8.0.100.0000.00716.81
8.0.90.0000.00716.84
8.0.80.0160.00016.92
8.0.70.0030.00517.00
8.0.60.0030.00516.80
8.0.50.0040.00416.95
8.0.30.0110.00816.96
8.0.20.0060.01317.40
8.0.10.0040.00417.05
8.0.00.0150.00416.72
7.4.330.0060.00015.55
7.4.320.0060.00016.63
7.4.300.0000.00616.46
7.4.290.0070.00316.58
7.4.280.0000.00816.37
7.4.270.0030.00316.58
7.4.260.0030.00316.38
7.4.250.0040.00416.54
7.4.240.0040.00316.48
7.4.230.0030.00316.31
7.4.220.0160.00316.42
7.4.210.0070.00716.46
7.4.200.0030.00316.45
7.4.160.0100.00616.44
7.4.150.0090.00817.40
7.4.140.0120.00817.86
7.4.130.0110.00716.61
7.4.120.0090.01416.57
7.4.110.0030.01416.48
7.4.100.0100.00716.48
7.4.90.0140.00316.51
7.4.80.0140.00819.39
7.4.70.0140.00316.45
7.4.60.0110.00716.37
7.4.50.0120.00316.36
7.4.40.0130.00316.45
7.4.30.0130.00516.52
7.4.00.0070.01014.97
7.3.330.0020.00213.17
7.3.320.0000.00613.29
7.3.310.0070.00016.50
7.3.300.0000.00716.38
7.3.290.0030.01216.39
7.3.280.0070.01016.39
7.3.270.0120.00617.40
7.3.260.0100.00816.39
7.3.250.0100.00716.40
7.3.240.0080.01016.33
7.3.230.0110.00516.41
7.3.210.0130.00316.36
7.3.200.0180.00416.61
7.3.190.0040.01316.29
7.3.180.0030.01716.60
7.3.170.0060.01016.59
7.3.160.0060.00916.57
7.2.330.0070.01016.32
7.2.320.0120.01016.69
7.2.310.0060.01016.43
7.2.300.0130.00316.71
7.2.290.0070.01116.47
7.1.70.0040.00417.23
7.1.60.0030.00717.30
7.1.50.0400.01332.88
7.1.40.0230.02032.41
7.1.30.0330.02332.52
7.1.20.0400.01332.57
7.1.10.0270.00714.80
7.1.00.0130.01714.68
7.0.200.0030.01016.86
7.0.190.0130.01314.77
7.0.180.0330.01314.35
7.0.170.0170.01014.39
7.0.160.0130.01314.30
7.0.150.1770.01014.49
7.0.140.0330.01314.43
7.0.130.0230.01014.60
7.0.120.0170.01014.75
7.0.110.0300.00714.47
7.0.100.0170.01314.43
7.0.90.0200.01014.52
7.0.80.0170.01314.65
7.0.70.0170.01714.32
7.0.60.0230.01314.42
7.0.50.0270.00714.38
7.0.40.0230.01314.70
7.0.30.0170.01014.34
7.0.20.0170.01314.49
7.0.10.0130.01014.51
7.0.00.0100.01314.54

preferences:
63.69 ms | 400 KiB | 5 Q