3v4l.org

run code in 300+ PHP versions simultaneously
<?php $examples = [ 'Sep 04-08', 'Sep 29-Oct 01', ]; $result = []; foreach ($examples as $example) { [$from, $to] = explode('-', $example, 2); var_export([$from, str_pad($to, 6, $from, STR_PAD_LEFT)]); echo "\n"; }

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.0070.00718.43
8.3.50.0070.00720.07
8.3.40.0120.00319.72
8.3.30.0110.00318.58
8.3.20.0050.00224.18
8.3.10.0040.00424.66
8.3.00.0000.00826.16
8.2.180.0120.00325.92
8.2.170.0170.00319.21
8.2.160.0170.00022.96
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0070.00021.05
8.2.110.0000.00820.26
8.2.100.0090.00317.85
8.2.90.0060.00318.03
8.2.80.0080.00019.27
8.2.70.0000.00817.50
8.2.60.0040.00417.75
8.2.50.0040.00418.04
8.2.40.0090.00018.34
8.2.30.0000.00818.02
8.2.20.0050.00319.42
8.2.10.0040.00417.98
8.2.00.0000.00719.28
8.1.280.0040.01125.92
8.1.270.0030.00624.66
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0030.00721.95
8.1.230.0040.00822.80
8.1.220.0000.00817.77
8.1.210.0000.00818.77
8.1.200.0040.00417.36
8.1.190.0100.00017.10
8.1.180.0080.00018.10
8.1.170.0080.00017.62
8.1.160.0000.00718.93
8.1.150.0080.00018.61
8.1.140.0000.00717.43
8.1.130.0030.00319.00
8.1.120.0040.00417.35
8.1.110.0030.00317.43
8.1.100.0030.00317.32
8.1.90.0080.00717.48
8.1.80.0110.00417.33
8.1.70.0120.00417.42
8.1.60.0150.00417.58
8.1.50.0130.00517.46
8.1.40.0100.00417.54
8.1.30.0060.00617.52
8.1.20.0080.00417.63
8.1.10.0120.00017.43
8.1.00.0080.00417.46
8.0.300.0000.00720.01
8.0.290.0000.00816.63
8.0.280.0040.00418.44
8.0.270.0030.00516.68
8.0.260.0030.00318.50
8.0.250.0000.00716.97
8.0.240.0000.00716.90
8.0.230.0000.00717.00
8.0.220.0000.01016.88
8.0.210.0050.00516.75
8.0.200.0100.00016.73
8.0.190.0050.00516.81
8.0.180.0090.00516.65
8.0.170.0050.00716.80
8.0.160.0100.00316.73
8.0.150.0040.01016.69
8.0.140.0070.00716.84
8.0.130.0100.00316.56
8.0.120.0080.00416.83
8.0.110.0070.00716.74
8.0.100.0040.00816.72
8.0.90.0120.00316.81
8.0.80.0120.00616.90
8.0.70.0180.00016.79
8.0.60.0120.00316.66
8.0.50.0100.00716.70
8.0.30.0100.00716.84
8.0.20.0080.00816.83
8.0.10.0120.00317.01
7.4.330.0020.00216.74
7.4.320.0060.00016.53
7.4.300.0110.00516.56
7.4.290.0170.00016.59
7.4.280.0080.00816.59
7.4.270.0040.01416.43
7.4.260.0140.00316.47
7.4.250.0130.00316.37
7.4.240.0120.00416.56
7.4.230.0120.00416.43
7.4.220.0140.00016.59
7.4.210.0070.00716.52
7.4.200.0050.01016.53
7.4.190.0110.00416.59
7.4.180.0110.00416.64
7.4.160.0120.00316.52
7.4.150.0120.00416.46
7.4.140.0090.00516.40
7.4.130.0040.00816.30
7.4.120.0100.00016.34
7.4.110.0040.00816.55
7.4.100.0100.00016.41
7.4.90.0070.00216.41
7.4.80.0060.00616.53
7.4.70.0000.01016.39
7.4.60.0050.00516.32
7.4.50.0070.00316.26
7.4.40.0050.00716.27
7.4.30.0080.00316.39
7.4.20.0090.00416.42
7.4.10.0100.00516.45
7.4.00.0110.00316.27

preferences:
54.14 ms | 404 KiB | 6 Q