3v4l.org

run code in 500+ PHP versions simultaneously
<?php $rawDate = "Fri Jul 19 2019 00:00:00 GMT 0800 (Singapore Standard Time)"; preg_match('/(.*?) GMT (\d+)\s\(.*?\)/', $rawDate, $matches); $date = DateTime::createFromFormat('D M j Y H:i:s', $matches[1]) ->setTimezone(new DateTimeZone('+' . $matches[2])); echo $date->format('Y-m-d H:i:s');

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.5.30.0050.00617.61
8.5.20.0110.00719.66
8.5.10.0100.01016.79
8.5.00.0100.01320.24
8.4.180.0170.01019.92
8.4.170.0140.00823.92
8.4.160.0130.00823.79
8.4.150.0080.00516.92
8.4.140.0140.00717.92
8.4.130.0090.00818.14
8.4.120.0050.00620.77
8.4.110.0130.00719.13
8.4.100.0150.00518.16
8.4.90.0120.00917.89
8.4.80.0140.00718.39
8.4.70.0110.00520.01
8.4.60.0130.00917.89
8.4.50.0090.01020.55
8.4.40.0160.00019.87
8.4.30.0080.01220.54
8.4.20.0070.01318.89
8.4.10.0090.00017.97
8.3.300.0100.00922.86
8.3.290.0100.01018.95
8.3.280.0070.00416.34
8.3.270.0140.00616.90
8.3.260.0120.00816.95
8.3.250.0120.00718.93
8.3.240.0100.00919.04
8.3.230.0110.00816.63
8.3.220.0100.01018.49
8.3.210.0080.01116.88
8.3.200.0130.00619.01
8.3.190.0090.00717.18
8.3.180.0100.00917.26
8.3.170.0090.00918.89
8.3.160.0150.00317.13
8.3.150.0130.00617.42
8.3.140.0040.00416.79
8.3.130.0050.00318.35
8.3.120.0030.00620.66
8.3.110.0080.00020.94
8.3.100.0030.00616.83
8.3.90.0000.00818.52
8.3.80.0030.00618.43
8.3.70.0100.00718.52
8.3.60.0070.00718.56
8.3.50.0080.01322.13
8.3.40.0090.00619.18
8.3.30.0120.00319.04
8.3.20.0000.00721.95
8.3.10.0040.00420.20
8.3.00.0080.00023.61
8.2.300.0110.01018.29
8.2.290.0110.00820.58
8.2.280.0120.00616.68
8.2.270.0110.00717.17
8.2.260.0090.00916.61
8.2.250.0100.01016.82
8.2.240.0150.00417.61
8.2.230.0060.00322.58
8.2.220.0050.00324.06
8.2.210.0100.00726.77
8.2.200.0070.01417.00
8.2.190.0130.00916.73
8.2.180.0110.01117.13
8.2.170.0120.00622.96
8.2.160.0080.00519.29
8.2.150.0080.00024.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0040.00419.91
8.2.110.0060.00319.44
8.2.100.0080.00418.16
8.2.90.0000.00818.28
8.2.80.0080.00317.97
8.2.70.0040.00418.00
8.2.60.0040.00418.16
8.2.50.0000.00818.13
8.2.40.0000.00820.19
8.2.30.0080.00018.31
8.2.20.0040.00418.20
8.2.10.0080.00019.43
8.2.00.0000.00719.52
8.1.340.0090.01118.40
8.1.330.0100.00916.71
8.1.320.0120.00716.54
8.1.310.0120.00618.32
8.1.300.0100.00318.24
8.1.290.0090.00018.88
8.1.280.0100.00725.92
8.1.270.0030.00620.94
8.1.260.0090.00626.35
8.1.250.0120.00328.09
8.1.240.0070.00423.91
8.1.230.0110.00022.67
8.1.220.0030.00517.80
8.1.210.0000.00819.00
8.1.200.0100.00017.72
8.1.190.0060.00317.73
8.1.180.0040.00418.10
8.1.170.0060.00318.91
8.1.160.0080.00018.93
8.1.150.0020.00518.87
8.1.140.0040.00422.21
8.1.130.0030.00320.09
8.1.120.0030.00617.81
8.1.110.0020.00517.67
8.1.100.0050.00617.69
8.1.90.0040.00417.75
8.1.80.0020.00617.69
8.1.70.0020.00617.65
8.1.60.0080.00317.76
8.1.50.0040.00717.72
8.1.40.0110.00317.66
8.1.30.0070.00617.76
8.1.20.0010.01117.82
8.1.10.0090.00417.85
8.1.00.0080.00517.85
8.0.300.0040.00419.95
8.0.290.0040.00417.25
8.0.280.0070.00018.52
8.0.270.0080.00017.25
8.0.260.0040.00420.16
8.0.250.0040.00417.25
8.0.240.0000.00917.27
8.0.230.0040.00417.29
8.0.220.0090.00317.21
8.0.210.0070.00417.27
8.0.200.0040.00717.28
8.0.190.0080.00417.29
8.0.180.0110.00117.23
8.0.170.0090.00217.30
8.0.160.0050.00517.20
8.0.150.0090.00217.18
8.0.140.0070.00417.20
8.0.130.0080.00315.37
8.0.120.0100.00217.22
8.0.110.0070.00417.17
8.0.100.0070.00417.24
8.0.90.0080.00417.20
8.0.80.0090.00717.17
8.0.70.0090.00217.23
8.0.60.0070.00417.05
8.0.50.0080.00417.27
8.0.30.0090.00817.26
8.0.20.0150.00217.37
8.0.10.0010.01017.25
8.0.00.0090.00717.19
7.4.330.0070.00015.55
7.4.320.0040.00416.81
7.4.300.0040.00416.81
7.4.290.0040.00716.87
7.4.280.0110.00316.83
7.4.270.0110.00316.86
7.4.260.0120.00116.81
7.4.250.0070.00516.82
7.4.240.0060.00616.76
7.4.230.0090.00416.75
7.4.220.0060.00416.85
7.4.210.0110.00516.90
7.4.200.0070.00316.86
7.4.190.0070.00716.77
7.4.180.0140.00016.95
7.4.160.0130.00216.75
7.4.150.0140.00016.83
7.4.140.0150.00517.35
7.4.130.0130.00616.82
7.4.120.0070.01016.96
7.4.110.0120.00516.83
7.4.100.0120.00416.86
7.4.90.0160.00316.75
7.4.80.0070.00818.08
7.4.70.0130.00316.79
7.4.60.0100.00716.71
7.4.50.0040.00816.76
7.4.40.0080.00816.78
7.4.30.0100.00016.77
7.4.20.0050.00516.56
7.4.10.0000.00716.62
7.4.00.0070.00716.06
7.3.330.0060.00515.06
7.3.320.0100.00114.99
7.3.310.0100.00216.65
7.3.300.0040.00816.61
7.3.290.0040.00716.54
7.3.280.0100.00616.51
7.3.270.0120.00616.60
7.3.260.0070.01016.81
7.3.250.0140.00316.67
7.3.240.0110.00616.74
7.3.230.0110.00716.55
7.3.220.0160.00016.41
7.3.210.0090.00816.70
7.3.200.0120.00716.71
7.3.190.0140.00416.51
7.3.180.0150.00216.72
7.3.170.0100.00716.58
7.3.160.0100.00716.52
7.3.150.0140.00216.67
7.3.140.0120.00616.56
7.3.130.0090.00616.67
7.3.120.0000.01616.46
7.3.110.0100.00516.46
7.3.100.0150.00016.61
7.3.90.0160.00016.73
7.3.80.0130.00316.39
7.3.70.0060.01115.77
7.3.60.0090.00815.74
7.3.50.0070.00915.85
7.3.40.0110.00515.76
7.3.30.0140.00315.93
7.3.20.0120.00417.74
7.3.10.0090.00517.53
7.3.00.0030.01117.67
7.2.340.0100.00616.70
7.2.330.0140.00416.84
7.2.320.0110.00616.85
7.2.310.0080.01316.84
7.2.300.0140.00516.82
7.2.290.0020.01416.87
7.2.280.0100.00616.69
7.2.270.0080.00816.79
7.2.260.0030.01216.82
7.2.250.0100.00516.93
7.2.240.0150.00017.02
7.2.230.0040.01116.71
7.2.220.0050.01016.79
7.2.210.0110.00416.70
7.2.200.0160.00216.02
7.2.190.0120.00516.05
7.2.180.0090.00816.12
7.2.170.0080.00716.01
7.2.160.0080.00816.05
7.2.150.0110.00517.98
7.2.140.0100.00517.90
7.2.130.0130.00318.06
7.2.120.0090.00617.99
7.2.110.0120.00617.98
7.2.100.0110.00417.97
7.2.90.0090.00518.11
7.2.80.0100.00318.05
7.2.70.0100.00817.94
7.2.60.0050.01118.02
7.2.50.0100.00718.09
7.2.40.0100.00818.16
7.2.30.0130.00318.00
7.2.20.0060.00918.04
7.2.10.0120.00217.94
7.2.00.0050.00918.04
7.1.330.0100.00317.60
7.1.320.0150.00017.73
7.1.310.0100.00317.85
7.1.300.0100.00716.78
7.1.290.0090.00716.84
7.1.280.0120.00316.81
7.1.270.0090.00916.90
7.1.260.0090.00416.88
7.1.250.0080.00616.79
7.1.240.0080.00517.46
7.1.230.0100.00317.79
7.1.220.0070.00717.45
7.1.210.0090.00417.43
7.1.200.0080.00617.62
7.1.190.0050.00917.64
7.1.180.0100.00317.68
7.1.170.0070.00717.51
7.1.160.0070.00717.67
7.1.150.0110.00317.61
7.1.140.0120.00217.57
7.1.130.0090.00617.68
7.1.120.0050.00917.70
7.1.110.0080.00617.63
7.1.100.0140.00017.53
7.1.90.0090.00617.66
7.1.80.0070.00717.67
7.1.70.0110.00417.67
7.1.60.0140.00017.57
7.1.50.0070.00717.89
7.1.40.0000.01417.57
7.1.30.0110.00517.80
7.1.20.0100.00517.60
7.1.10.0110.00317.78
7.1.00.0120.00217.61

preferences:
91.72 ms | 1661 KiB | 5 Q