3v4l.org

run code in 300+ PHP versions simultaneously
<?php $t = $tt = 2044; $w = $ww = 1212; while (($w / $t) < .60) { $w++; $t++; } echo "w = $w, t = $t\n"; echo "streak: " . ($t - $tt), "\n"; $t = $tt; $w = $ww; $n = 0; $c = 0; while (($w / $t) < .60) { $w++; $t++; $n++; if ($n == 5) { $n = 0; $t++; $c++; } } echo "runs of five: ", $c;

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.0140.00316.63
8.3.50.0170.00316.50
8.3.40.0070.00718.59
8.3.30.0110.00418.55
8.3.20.0100.01020.34
8.3.10.0040.01121.91
8.3.00.0040.00420.77
8.2.180.0030.01318.29
8.2.170.0150.00022.96
8.2.160.0140.00021.87
8.2.150.0040.01424.18
8.2.140.0150.00024.66
8.2.130.0100.00722.12
8.2.120.0000.00826.35
8.2.110.0060.00322.21
8.2.100.0110.00017.78
8.2.90.0080.00019.30
8.2.80.0000.00917.97
8.2.70.0060.00317.50
8.2.60.0040.00417.93
8.2.50.0040.00418.10
8.2.40.0000.00722.18
8.2.30.0000.00719.28
8.2.20.0060.00318.06
8.2.10.0040.00418.05
8.2.00.0040.00418.14
8.1.280.0100.01025.92
8.1.270.0040.00422.11
8.1.260.0040.00426.35
8.1.250.0070.00728.09
8.1.240.0090.00023.97
8.1.230.0040.00722.14
8.1.220.0060.00317.78
8.1.210.0040.00418.77
8.1.200.0060.00317.35
8.1.190.0000.00917.23
8.1.180.0040.00418.10
8.1.170.0030.00618.64
8.1.160.0040.00419.07
8.1.150.0000.00720.67
8.1.140.0040.00419.58
8.1.130.0070.00018.95
8.1.120.0040.00417.47
8.1.110.0000.00817.45
8.1.100.0000.00717.43
8.1.90.0040.00317.36
8.1.80.0000.00717.49
8.1.70.0040.00317.49
8.1.60.0030.00617.64
8.1.50.0070.00017.53
8.1.40.0040.00417.47
8.1.30.0060.00317.55
8.1.20.0000.01017.70
8.1.10.0040.00417.56
8.1.00.0060.00317.47
8.0.300.0040.00418.77
8.0.290.0020.00516.63
8.0.280.0000.00718.36
8.0.270.0000.00717.33
8.0.260.0060.00016.87
8.0.250.0030.00316.96
8.0.240.0040.00416.67
8.0.230.0060.00316.86
8.0.220.0070.00016.79
8.0.210.0050.00316.89
8.0.200.0000.00716.97
8.0.190.0050.00316.98
8.0.180.0000.00716.92
8.0.170.0000.00716.82
8.0.160.0050.00316.96
8.0.150.0000.00716.79
8.0.140.0000.00916.83
8.0.130.0050.00313.38
8.0.120.0000.00716.88
8.0.110.0040.00416.89
8.0.100.0040.00416.87
8.0.90.0070.00016.79
8.0.80.0080.00816.96
8.0.70.0000.00716.95
8.0.60.0000.00716.77
8.0.50.0020.00516.79
8.0.30.0090.01017.15
8.0.20.0090.01017.40
8.0.10.0040.00416.96
8.0.00.0060.01116.66
7.4.330.0050.00015.55
7.4.320.0040.00416.63
7.4.300.0000.00616.45
7.4.290.0070.00016.52
7.4.280.0050.00516.51
7.4.270.0000.00716.52
7.4.260.0030.00316.56
7.4.250.0070.00016.59
7.4.240.0000.00716.66
7.4.230.0000.00716.65
7.4.220.0090.01616.60
7.4.210.0030.01316.49
7.4.200.0000.00716.55
7.4.160.0050.01316.47
7.4.150.0110.00617.40
7.4.140.0080.01317.86
7.4.130.0100.01016.53
7.4.120.0120.00816.56
7.4.110.0070.01016.39
7.4.100.0210.00316.62
7.4.90.0040.01416.58
7.4.80.0100.00619.39
7.4.70.0090.00916.60
7.4.60.0160.00016.49
7.4.50.0080.00516.39
7.4.40.0080.00816.63
7.4.30.0070.01116.44
7.4.00.0060.01215.10
7.3.330.0050.00013.28
7.3.320.0000.00613.18
7.3.310.0000.00716.48
7.3.300.0030.00316.33
7.3.290.0070.00716.42
7.3.280.0090.00716.32
7.3.270.0120.01017.40
7.3.260.0080.00816.53
7.3.250.0110.00816.56
7.3.240.0090.00816.48
7.3.230.0220.01216.41
7.3.210.0100.00716.46
7.3.200.0030.01616.68
7.3.190.0080.00816.61
7.3.180.0090.00616.52
7.3.170.0060.00916.46
7.3.160.0080.00816.32
7.2.330.0040.01416.56
7.2.320.0060.01316.48
7.2.310.0110.00616.75
7.2.300.0060.01016.58
7.2.290.0160.00816.42
7.2.60.0000.01017.00
7.2.00.0100.00719.50
7.1.200.0030.00915.69
7.1.100.0040.00418.19
7.1.70.0060.01017.09
7.1.60.0400.01033.35
7.1.50.0370.01033.07
7.1.40.0400.01032.66
7.1.30.0400.01032.76
7.1.20.0400.01032.76
7.1.10.0270.01014.82
7.1.00.0300.00714.93
7.0.200.0300.01014.94
7.0.190.0300.01014.84
7.0.180.0300.00714.30
7.0.170.1030.00714.55
7.0.160.0300.01014.38
7.0.150.0270.01014.37
7.0.140.0270.01314.77
7.0.130.0330.00714.76
7.0.120.0370.00014.67
7.0.110.0370.00314.57
7.0.100.0400.01314.58
7.0.90.0300.00714.40
7.0.80.0300.00714.66
7.0.70.0330.01014.57
7.0.60.0370.00714.10
7.0.50.0370.00714.77
7.0.40.0300.01014.62
7.0.30.0370.00314.70
7.0.20.0370.00314.54
7.0.10.0330.00714.74
7.0.00.0370.00314.62

preferences:
54.96 ms | 400 KiB | 5 Q