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.0070.00718.56
8.3.50.0110.01116.66
8.3.40.0150.00019.02
8.3.30.0150.00018.92
8.3.20.0040.00420.33
8.3.10.0000.00821.77
8.3.00.0040.00419.69
8.2.180.0070.00718.48
8.2.170.0200.00322.96
8.2.160.0100.00319.19
8.2.150.0040.00424.18
8.2.140.0100.00024.66
8.2.130.0040.00419.24
8.2.120.0070.00026.35
8.2.110.0060.00320.52
8.2.100.0040.00817.97
8.2.90.0000.00817.99
8.2.80.0040.00419.01
8.2.70.0030.00617.75
8.2.60.0050.00317.88
8.2.50.0090.00018.00
8.2.40.0080.00019.61
8.2.30.0050.00319.21
8.2.20.0050.00318.13
8.2.10.0040.00418.06
8.2.00.0090.00018.12
8.1.280.0170.00025.92
8.1.270.0080.00022.06
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0000.01023.92
8.1.230.0000.01117.66
8.1.220.0090.00017.74
8.1.210.0050.00318.77
8.1.200.0040.00717.13
8.1.190.0040.00417.35
8.1.180.0050.00318.10
8.1.170.0040.00419.03
8.1.160.0050.00219.03
8.1.150.0060.00618.79
8.1.140.0000.00719.43
8.1.130.0040.00418.83
8.1.120.0000.00717.55
8.1.110.0000.00717.32
8.1.100.0030.00617.57
8.1.90.0000.00817.57
8.1.80.0000.00817.41
8.1.70.0030.00317.43
8.1.60.0040.00417.55
8.1.50.0030.00517.55
8.1.40.0050.01117.52
8.1.30.0000.00817.63
8.1.20.0050.00317.63
8.1.10.0040.00417.72
8.1.00.0000.00817.52
8.0.300.0040.00418.77
8.0.290.0040.00416.88
8.0.280.0040.00418.37
8.0.270.0000.00717.32
8.0.260.0000.00716.93
8.0.250.0030.00317.13
8.0.240.0030.00517.16
8.0.230.0000.00717.01
8.0.220.0000.00816.99
8.0.210.0030.00316.92
8.0.200.0000.00617.04
8.0.190.0030.00517.07
8.0.180.0050.00216.94
8.0.170.0000.00717.03
8.0.160.0040.00416.89
8.0.150.0000.00717.00
8.0.140.0000.00716.82
8.0.130.0000.00513.48
8.0.120.0050.00317.00
8.0.110.0030.00516.91
8.0.100.0080.00016.87
8.0.90.0000.00817.03
8.0.80.0150.00617.02
8.0.70.0000.00716.91
8.0.60.0030.00517.05
8.0.50.0040.00416.98
8.0.30.0070.01017.17
8.0.20.0110.01117.40
8.0.10.0030.00517.13
8.0.00.0100.00717.03
7.4.330.0030.00215.55
7.4.320.0030.00316.63
7.4.300.0000.00616.74
7.4.290.0000.00716.53
7.4.280.0040.00416.57
7.4.270.0070.00016.66
7.4.260.0070.00016.64
7.4.250.0040.00416.61
7.4.240.0040.00416.63
7.4.230.0030.00316.73
7.4.220.0000.01816.73
7.4.210.0080.00616.67
7.4.200.0000.00716.48
7.4.160.0100.00816.64
7.4.150.0140.00417.40
7.4.140.0120.00817.86
7.4.130.0110.01416.71
7.4.120.0120.00716.76
7.3.330.0050.00013.39
7.3.320.0000.00513.33
7.3.310.0040.00416.29
7.3.300.0030.00316.45
7.3.290.0060.00816.51
7.3.280.0090.00716.45
7.3.270.0120.00617.40
7.3.260.0080.00816.52
7.3.250.0100.00716.48
7.3.240.0030.01516.63

preferences:
48.02 ms | 401 KiB | 5 Q