3v4l.org

run code in 300+ PHP versions simultaneously
<?php $time1=date('H:i:s',strtotime('now')); $time2= date('H:i:s',strtotime('now')); $timeform= new DateTime($time2); $newtime2= $timeform->format('H:i:s'); echo $newtime2;

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.0140.00716.63
8.3.50.0090.01122.05
8.3.40.0100.01318.75
8.3.30.0110.00419.09
8.3.20.0090.00020.21
8.3.10.0030.00523.56
8.3.00.0000.01619.35
8.2.180.0120.00918.63
8.2.170.0040.01122.96
8.2.160.0000.01320.53
8.2.150.0070.00024.18
8.2.140.0110.00324.66
8.2.130.0070.00026.16
8.2.120.0040.00422.08
8.2.110.0000.00922.16
8.2.100.0120.00317.42
8.2.90.0040.00419.20
8.2.80.0000.00817.97
8.2.70.0030.00617.63
8.2.60.0050.00517.93
8.2.50.0040.00418.07
8.2.40.0040.00420.01
8.2.30.0040.00418.23
8.2.20.0000.00717.93
8.2.10.0050.00218.11
8.2.00.0030.00617.92
8.1.280.0110.00325.92
8.1.270.0080.00023.96
8.1.260.0050.00326.35
8.1.250.0070.00028.09
8.1.240.0000.00922.14
8.1.230.0120.00019.14
8.1.220.0000.00817.74
8.1.210.0030.00518.77
8.1.200.0040.00417.35
8.1.190.0040.00417.47
8.1.180.0000.00918.10
8.1.170.0030.00518.66
8.1.160.0000.00821.90
8.1.150.0040.00418.70
8.1.140.0000.00717.48
8.1.130.0030.00317.88
8.1.120.0000.00717.48
8.1.110.0040.00417.58
8.1.100.0030.00317.46
8.1.90.0070.00017.59
8.1.80.0080.00017.46
8.1.70.0000.00717.52
8.1.60.0080.00017.65
8.1.50.0000.00817.47
8.1.40.0040.00417.61
8.1.30.0040.00417.62
8.1.20.0000.00817.61
8.1.10.0040.00417.61
8.1.00.0080.00017.75
8.0.300.0000.00718.77
8.0.290.0030.00517.16
8.0.280.0030.00318.51
8.0.270.0030.00317.20
8.0.260.0030.00317.37
8.0.250.0030.00617.11
8.0.240.0000.00617.18
8.0.230.0040.00416.99
8.0.220.0060.00017.08
8.0.210.0080.00016.99
8.0.200.0030.00317.13
8.0.190.0070.00317.07
8.0.180.0000.00716.95
8.0.170.0070.00017.02
8.0.160.0040.00417.04
8.0.150.0040.00416.86
8.0.140.0070.00017.00
8.0.130.0050.00013.36
8.0.120.0080.00016.89
8.0.110.0050.00216.85
8.0.100.0040.00416.88
8.0.90.0040.00417.02
8.0.80.0000.01616.97
8.0.70.0090.00016.86
8.0.60.0040.00417.04
8.0.50.0000.00716.87
8.0.30.0180.00117.12
8.0.20.0080.01117.41
8.0.10.0040.00416.98
8.0.00.0070.01016.79
7.4.330.0000.00515.00
7.4.320.0030.00316.51
7.4.300.0000.00716.54
7.4.290.0040.00416.71
7.4.280.0000.00716.55
7.4.270.0000.00716.66
7.4.260.0030.00316.66
7.4.250.0030.00516.65
7.4.240.0030.00316.59
7.4.230.0030.00316.60
7.4.220.0060.01216.77
7.4.210.0070.00816.62
7.4.200.0000.00716.64
7.4.190.0050.00316.75
7.4.160.0070.01016.71
7.4.150.0030.01317.40
7.4.140.0130.00517.86
7.4.130.0080.00816.64
7.4.120.0070.01116.61
7.4.110.0110.00716.70
7.4.100.0090.00916.75
7.4.90.0110.00616.64
7.4.80.0140.00719.39
7.4.70.0110.00616.69
7.4.60.0060.01016.64
7.4.50.0050.00016.57
7.4.40.0120.00916.50
7.4.30.0050.01416.80
7.4.00.0070.01014.96
7.3.330.0000.00513.11
7.3.320.0000.00613.21
7.3.310.0000.00716.20
7.3.300.0030.00316.35
7.3.290.0070.00716.32
7.3.280.0100.00616.25
7.3.270.0090.00617.40
7.3.260.0130.01016.46
7.3.250.0070.01516.54
7.3.240.0070.01516.51
7.3.230.0070.01016.58
7.3.210.0150.00616.54
7.3.200.0100.01319.39
7.3.190.0130.00916.64
7.3.180.0160.00016.38
7.3.170.0060.00916.62
7.3.160.0090.00616.39
7.3.120.0030.01315.09
7.2.330.0070.01016.44
7.2.320.0140.01116.82
7.2.310.0090.01316.66
7.2.300.0140.00416.43
7.2.290.0080.01416.59
7.2.00.0100.00019.57
7.1.100.0170.00618.23
7.1.70.0040.00717.09
7.1.60.0090.01519.46
7.1.50.0160.01335.00
7.1.00.0030.07322.49
7.0.200.0000.00716.98
7.0.140.0030.07322.12
7.0.110.0270.04719.99
7.0.100.0700.03719.95
7.0.90.0500.04319.94
7.0.80.0670.08319.84
7.0.70.0530.06319.86
7.0.60.0700.07319.91
7.0.50.0400.06319.99
7.0.40.0070.07719.78
7.0.30.0130.06719.76
7.0.20.0070.08319.70
7.0.10.0170.05319.72
7.0.00.0130.07719.74
5.6.280.0030.07321.09
5.6.260.0100.02720.50
5.6.250.0030.05320.74
5.6.240.0030.05320.72
5.6.230.0070.08320.46
5.6.220.0030.05720.67
5.6.210.0100.07020.61
5.6.200.0030.06720.70
5.6.190.0030.03720.68
5.6.180.0030.04320.65
5.6.170.0100.06020.63
5.6.160.0100.05720.70
5.6.150.0070.05020.66
5.6.140.0030.06020.61
5.6.130.0070.04320.85
5.6.120.0070.05020.67
5.6.110.0030.04320.84
5.6.100.0070.04720.54
5.6.90.0030.04020.59
5.6.80.0070.03320.04
5.6.70.0070.03319.95
5.6.60.0000.05020.01
5.6.50.0100.07020.02
5.6.40.0070.03320.02
5.6.30.0130.06720.04
5.6.20.0030.03719.97
5.6.10.0070.07720.05
5.6.00.0070.03719.91
5.5.380.0070.04717.61
5.5.370.0130.08717.66
5.5.360.0070.06317.51
5.5.350.0100.05017.65
5.5.340.0100.05718.03
5.5.330.0100.08017.77
5.5.320.0070.05317.86
5.5.310.0000.08017.98
5.5.300.0030.04318.15
5.5.290.0030.07718.02
5.5.280.0030.04718.00
5.5.270.0100.05317.76
5.5.260.0000.05318.17
5.5.250.0070.04717.93
5.5.240.0030.04717.50
5.5.230.0000.05017.24
5.5.220.0030.04317.21
5.5.210.0170.03717.24
5.5.200.0070.03717.20
5.5.190.0070.05317.21
5.5.180.0070.06717.51
5.5.160.0000.03717.50
5.5.150.0070.05017.19
5.5.140.0070.04717.52
5.5.130.0070.03017.19
5.5.120.0030.06017.21
5.5.110.0070.06317.44
5.5.100.0000.07317.51
5.5.90.0100.05017.35
5.5.80.0070.03317.27
5.5.70.0030.03317.40
5.5.60.0070.04717.25
5.5.50.0000.04017.00
5.5.40.0100.07317.40
5.5.30.0070.05017.40
5.5.20.0100.04717.10
5.5.10.0130.03017.26
5.5.00.0070.06717.36
5.4.450.0030.06019.49
5.4.440.0070.05319.49
5.4.430.0070.05019.28
5.4.420.0100.07719.34
5.4.410.0100.02719.38
5.4.400.0030.04318.95
5.4.390.0030.03719.16
5.4.380.0000.04018.95
5.4.370.0070.03719.13
5.4.360.0130.07319.16
5.4.350.0000.06019.00
5.4.340.0030.04019.16
5.4.320.0030.05018.93
5.4.310.0000.03719.27
5.4.300.0000.04318.94
5.4.290.0000.04019.24
5.4.280.0070.03719.02
5.4.270.0030.06019.03
5.4.260.0070.04019.03
5.4.250.0000.07719.13
5.4.240.0030.04718.95
5.4.230.0000.06319.11
5.4.220.0100.05019.00
5.4.210.0000.04018.98
5.4.200.0070.05318.94
5.4.190.0030.03719.09
5.4.180.0030.04319.14
5.4.170.0070.07019.11
5.4.160.0000.03719.07
5.4.150.0030.06019.14
5.4.140.0100.04716.32
5.4.130.0070.04016.23
5.4.120.0030.05316.25
5.4.110.0000.07716.55
5.4.100.0100.06016.57
5.4.90.0030.03316.46
5.4.80.0000.05016.57
5.4.70.0130.05316.53
5.4.60.0030.07716.38
5.4.50.0070.03716.34
5.4.40.0000.04016.44
5.4.30.0030.03316.20
5.4.20.0000.03716.46
5.4.10.0030.06316.34
5.4.00.0030.03015.71
5.3.290.0000.04014.61
5.3.280.0000.03714.67
5.3.270.0170.06314.51
5.3.260.0030.06314.49
5.3.250.0030.03714.70
5.3.240.0070.04714.43
5.3.230.0000.04014.42
5.3.220.0070.02714.56
5.3.210.0100.07714.35
5.3.200.0100.02314.56
5.3.190.0030.05314.66
5.3.180.0070.03314.44
5.3.170.0070.05014.49
5.3.160.0000.03314.51
5.3.150.0030.03714.66
5.3.140.0030.03714.58
5.3.130.0030.03314.43
5.3.120.0000.06014.56
5.3.110.0000.05314.61
5.3.100.0100.05713.92
5.3.90.0000.03313.96
5.3.80.0000.04714.02
5.3.70.0030.04314.11
5.3.60.0000.05314.10
5.3.50.0030.03713.88
5.3.40.0030.03714.02
5.3.30.0100.02713.75
5.3.20.0030.03313.75
5.3.10.0070.03713.59
5.3.00.0030.03713.51
5.2.170.0000.03311.94
5.2.160.0000.03011.94
5.2.150.0130.02011.94
5.2.140.0070.02711.94
5.2.130.0100.03711.94
5.2.120.0030.03011.94
5.2.110.0000.03011.94
5.2.100.0030.03011.94
5.2.90.0000.03011.94
5.2.80.0030.03311.94
5.2.70.0000.02711.94
5.2.60.0070.05711.94
5.2.50.0170.03711.94
5.2.40.0100.01711.94
5.2.30.0000.03011.94
5.2.20.0000.03311.94
5.2.10.0030.04011.94
5.2.00.0100.04011.94
5.1.60.0030.04311.94
5.1.50.0000.02311.94
5.1.40.0030.03311.94
5.1.30.0000.03311.94
5.1.20.0030.02311.94
5.1.10.0000.04311.94
5.1.00.0000.03711.94
5.0.50.0000.02311.94
5.0.40.0070.03311.94
5.0.30.0000.07011.94
5.0.20.0000.02311.94
5.0.10.0000.01711.94
5.0.00.0000.03011.94
4.4.90.0000.01311.94
4.4.80.0030.03711.94
4.4.70.0000.02011.94
4.4.60.0000.01711.94
4.4.50.0000.01711.94
4.4.40.0000.03311.94
4.4.30.0000.02711.94
4.4.20.0000.01711.94
4.4.10.0000.01711.94
4.4.00.0030.03311.94
4.3.110.0030.01311.94
4.3.100.0000.02311.94
4.3.90.0030.02711.94
4.3.80.0000.02711.94
4.3.70.0030.01311.94
4.3.60.0000.01711.94
4.3.50.0030.03011.94
4.3.40.0000.03311.94
4.3.30.0000.03011.94
4.3.20.0030.02011.94
4.3.10.0030.03311.94
4.3.00.0000.01711.94

preferences:
40.94 ms | 401 KiB | 5 Q