3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dateStart = '2016/12/31'; list($yS, $mS, $dS) = 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.0080.00818.30
8.3.50.0110.00316.16
8.3.40.0040.01118.72
8.3.30.0130.00618.58
8.3.20.0040.00420.30
8.3.10.0070.00021.77
8.3.00.0080.00019.80
8.2.180.0100.01016.88
8.2.170.0090.00922.96
8.2.160.0070.01119.11
8.2.150.0030.00624.18
8.2.140.0000.00824.66
8.2.130.0070.00019.31
8.2.120.0040.00426.35
8.2.110.0060.00319.26
8.2.100.0120.00017.91
8.2.90.0000.00919.08
8.2.80.0040.00417.97
8.2.70.0040.00417.63
8.2.60.0040.00417.80
8.2.50.0040.00418.10
8.2.40.0000.00820.48
8.2.30.0000.00820.84
8.2.20.0070.00017.98
8.2.10.0050.00218.10
8.2.00.0000.00817.93
8.1.270.0070.00022.14
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0060.00322.62
8.1.230.0080.00318.93
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0030.00617.22
8.1.190.0080.00017.23
8.1.180.0030.00518.10
8.1.170.0080.00018.52
8.1.160.0030.00318.92
8.1.150.0000.01018.86
8.1.140.0000.00719.37
8.1.130.0030.00318.81
8.1.120.0040.00417.27
8.1.110.0050.00317.22
8.1.100.0040.00717.45
8.1.90.0040.00417.39
8.1.80.0040.00417.38
8.1.70.0000.00717.40
8.1.60.0060.00317.52
8.1.50.0000.00717.49
8.1.40.0060.00317.32
8.1.30.0000.00817.55
8.1.20.0000.00817.68
8.1.10.0000.00717.55
8.1.00.0000.00817.52
8.0.300.0080.00018.77
8.0.290.0040.00416.60
8.0.280.0070.00018.24
8.0.270.0000.00717.23
8.0.260.0000.00716.81
8.0.250.0040.00416.94
8.0.240.0090.00016.91
8.0.230.0000.00716.97
8.0.220.0030.00316.78
8.0.210.0020.00516.91
8.0.200.0060.00016.95
8.0.190.0030.00616.89
8.0.180.0000.00716.96
8.0.170.0070.00016.75
8.0.160.0030.00516.89
8.0.150.0000.00716.79
8.0.140.0000.00716.85
8.0.130.0030.00313.34
8.0.120.0070.00016.88
8.0.110.0030.00316.93
8.0.100.0020.00516.71
8.0.90.0080.00016.84
8.0.80.0130.01416.84
8.0.70.0050.00216.76
8.0.60.0080.00016.77
8.0.50.0040.00416.75
8.0.30.0130.00516.87
8.0.20.0120.01017.40
8.0.10.0000.00816.80
8.0.00.0140.00416.68
7.4.330.0050.00015.55
7.4.320.0000.00616.38
7.4.300.0000.00616.39
7.4.290.0000.00716.52
7.4.280.0040.00416.57
7.4.270.0040.00416.44
7.4.260.0000.00716.37
7.4.250.0050.00216.46
7.4.240.0030.00516.53
7.4.230.0040.00416.32
7.4.220.0060.01316.43
7.4.210.0030.01316.63
7.4.200.0000.00716.57
7.4.160.0090.00716.49
7.4.150.0080.01217.40
7.4.140.0100.00817.86
7.4.130.0110.00716.56
7.4.120.0120.00716.43
7.3.330.0000.00613.23
7.3.320.0030.00312.98
7.3.310.0030.00316.31
7.3.300.0000.00716.16
7.3.290.0060.00716.27
7.3.280.0090.00816.24
7.3.270.0160.00317.40
7.3.260.0080.01016.44
7.3.250.0120.00516.51
7.3.240.0070.01316.25

preferences:
57.2 ms | 400 KiB | 5 Q