3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dateStart = '2016/12/31'; list($yS, $mS, $dS) = preg_split('/[/.-]/', $dateStart); echo $dS;

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.0120.00318.43
8.3.50.0120.00315.98
8.3.40.0100.00718.80
8.3.30.0140.00318.59
8.3.20.0030.00620.21
8.3.10.0040.00421.60
8.3.00.0060.00319.68
8.2.180.0100.00718.55
8.2.170.0120.00422.96
8.2.160.0120.00619.23
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0050.00319.33
8.2.120.0050.00326.35
8.2.110.0090.00019.24
8.2.100.0110.00018.03
8.2.90.0040.00419.20
8.2.80.0050.00317.97
8.2.70.0000.00817.75
8.2.60.0030.00618.16
8.2.50.0050.00318.10
8.2.40.0050.00320.53
8.2.30.0030.00521.05
8.2.20.0070.00017.98
8.2.10.0000.00717.98
8.2.00.0080.00017.98
8.1.280.0040.01125.92
8.1.270.0070.00022.05
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0060.00322.70
8.1.230.0040.00719.00
8.1.220.0040.00417.91
8.1.210.0050.00318.77
8.1.200.0060.00317.13
8.1.190.0050.00317.23
8.1.180.0000.00818.10
8.1.170.0000.00818.65
8.1.160.0030.00519.09
8.1.150.0050.00518.86
8.1.140.0070.00019.53
8.1.130.0030.00318.86
8.1.120.0070.00017.44
8.1.110.0080.00017.36
8.1.100.0060.00317.29
8.1.90.0000.00717.41
8.1.80.0050.00217.28
8.1.70.0000.00717.37
8.1.60.0000.00817.52
8.1.50.0030.00517.44
8.1.40.0060.00417.41
8.1.30.0050.00317.59
8.1.20.0040.00417.47
8.1.10.0000.00817.57
8.1.00.0000.00717.39
8.0.300.0040.00418.77
8.0.290.0000.00716.75
8.0.280.0000.00818.42
8.0.270.0030.00317.29
8.0.260.0080.00016.88
8.0.250.0030.00317.03
8.0.240.0030.00616.96
8.0.230.0030.00316.85
8.0.220.0040.00416.80
8.0.210.0050.00216.77
8.0.200.0020.00516.93
8.0.190.0040.00416.93
8.0.180.0000.00716.94
8.0.170.0070.00016.79
8.0.160.0030.00516.90
8.0.150.0070.00016.86
8.0.140.0030.00316.77
8.0.130.0050.00013.35
8.0.120.0050.00316.78
8.0.110.0000.00816.76
8.0.100.0000.00716.80
8.0.90.0040.00416.89
8.0.80.0070.01416.84
8.0.70.0030.00516.83
8.0.60.0040.00416.88
8.0.50.0000.00716.94
8.0.30.0100.00616.96
8.0.20.0120.00917.41
8.0.10.0040.00416.88
8.0.00.0110.00716.83
7.4.330.0000.00515.55
7.4.320.0050.00316.55
7.4.300.0000.00616.47
7.4.290.0000.00716.39
7.4.280.0050.00316.54
7.4.270.0040.00416.50
7.4.260.0070.00016.27
7.4.250.0000.00816.51
7.4.240.0000.00816.54
7.4.230.0030.00316.51
7.4.220.0150.00316.49
7.4.210.0070.00716.45
7.4.200.0030.00316.53
7.4.160.0090.00916.43
7.4.150.0090.00917.40
7.4.140.0130.00617.86
7.4.130.0060.01916.45
7.4.120.0090.01116.71
7.3.330.0020.00213.06
7.3.320.0020.00213.20
7.3.310.0000.00716.26
7.3.300.0070.00016.14
7.3.290.0050.00916.36
7.3.280.0060.01016.34
7.3.270.0110.00817.40
7.3.260.0170.01616.66
7.3.250.0120.00616.34
7.3.240.0080.00816.30

preferences:
41.35 ms | 401 KiB | 5 Q