3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo date_default_timezone_get() . "\n"; date_default_timzone_set('UTC'); echo date_default_timezone_get() . "\n"; date_default_timezone_set(''); echo date_default_timezone_get() . "\n";

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.40.0110.00418.96
8.3.30.0140.00018.69
8.3.20.0040.00420.21
8.3.10.0040.00423.67
8.3.00.0080.00017.61
8.2.170.0140.00022.96
8.2.160.0130.00620.58
8.2.150.0030.00724.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0060.00317.50
8.2.110.0030.00719.30
8.2.100.0040.00717.97
8.2.90.0000.00719.41
8.2.80.0040.00417.97
8.2.70.0060.00317.75
8.2.60.0000.00918.04
8.2.50.0000.00818.07
8.2.40.0060.00319.34
8.2.30.0030.00320.57
8.2.20.0000.00817.85
8.2.10.0070.00017.98
8.2.00.0000.00817.96
8.1.270.0050.00323.91
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0030.00721.04
8.1.230.0040.00817.52
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0030.00817.48
8.1.190.0000.00717.35
8.1.180.0000.00818.10
8.1.170.0050.00219.02
8.1.160.0070.00021.88
8.1.150.0040.00418.80
8.1.140.0050.00319.57
8.1.130.0000.00717.70
8.1.120.0040.00417.57
8.1.110.0040.00317.56
8.1.100.0000.00817.53
8.1.90.0000.00717.39
8.1.80.0070.00017.48
8.1.70.0050.00317.52
8.1.60.0000.00717.40
8.1.50.0040.00417.48
8.1.40.0000.00817.39
8.1.30.0050.00317.55
8.1.20.0040.00417.59
8.1.10.0040.00717.57
8.1.00.0030.00617.58
8.0.300.0000.00818.77
8.0.290.0000.00716.75
8.0.280.0070.00018.51
8.0.270.0000.00817.32
8.0.260.0030.00317.32
8.0.250.0070.00017.09
8.0.240.0070.00017.07
8.0.230.0040.00417.12
8.0.220.0030.00317.01
8.0.210.0080.00017.01
8.0.200.0030.00317.05
8.0.190.0000.00717.03
8.0.180.0070.00017.00
8.0.170.0050.00317.11
8.0.160.0040.00417.07
8.0.150.0050.00216.96
8.0.140.0000.00716.97
8.0.130.0030.00513.37
8.0.120.0000.00816.98
8.0.110.0000.00816.96
8.0.100.0070.00017.01
8.0.90.0040.00417.00
8.0.80.0120.00416.90
8.0.70.0040.00416.89
8.0.60.0040.00416.79
8.0.50.0040.00417.03
8.0.30.0080.00917.20
8.0.20.0100.00917.40
8.0.10.0080.00017.08
8.0.00.0100.00816.87
7.4.330.0050.00015.09
7.4.320.0030.00316.38
7.4.300.0030.00316.55
7.4.290.0030.00316.61
7.4.280.0030.00516.59
7.4.270.0040.00416.62
7.4.260.0060.00516.45
7.4.250.0050.00216.42
7.4.240.0040.00416.61
7.4.230.0000.00716.40
7.4.220.0120.00616.52
7.4.210.0130.00316.50
7.4.200.0000.00716.49
7.4.160.0040.01116.43
7.4.150.0090.00917.40
7.4.140.0160.00817.86
7.4.130.0160.00616.48
7.4.120.0070.00916.58
7.4.110.0060.01316.55
7.4.100.0090.01316.50
7.4.90.0140.00316.55
7.4.80.0090.00919.39
7.4.70.0140.00716.51
7.4.60.0120.00416.40
7.4.50.0030.00316.56
7.4.40.0110.00516.53
7.4.30.0060.01216.71
7.4.00.0030.01214.84
7.3.330.0000.00613.18
7.3.320.0000.00513.30
7.3.310.0030.00516.27
7.3.300.0030.00316.32
7.3.290.0090.00616.31
7.3.280.0120.00616.33
7.3.270.0160.00317.40
7.3.260.0140.00616.49
7.3.240.0070.01416.38
7.3.230.0070.01116.55
7.3.210.0100.00616.34
7.3.200.0130.00316.54
7.3.190.0120.00416.48
7.3.180.0040.01216.48
7.3.170.0070.01016.52
7.3.160.0090.00616.58
7.2.330.0070.01016.66
7.2.320.0070.01116.45
7.2.310.0060.01016.55
7.2.300.0100.00716.76
7.2.290.0160.00616.35
7.2.60.0000.01216.68
7.2.00.0170.00319.16
7.1.200.0030.00815.63
7.1.100.0040.01217.85
7.1.70.0000.00717.27
7.1.60.0070.01419.43
7.1.50.0070.01116.70
7.1.00.0030.07722.48
7.0.200.0340.01215.01
7.0.60.0000.07019.93
7.0.50.0000.06017.66
7.0.40.0100.04020.20
7.0.30.0070.08020.19
7.0.20.0170.05320.16
7.0.10.0100.08020.09
7.0.00.0070.05320.19
5.6.280.0030.05720.98
5.6.210.0030.08720.75
5.6.200.0100.08318.10
5.6.190.0070.08020.41
5.6.180.0500.06720.61
5.6.170.0270.06020.49
5.6.160.0070.06720.62
5.6.150.0030.04718.16
5.6.140.0070.06318.12
5.6.130.0000.06718.21
5.6.120.0100.08021.04
5.6.110.0130.07721.03
5.6.100.0170.08021.02
5.6.90.0130.07020.99
5.6.80.0030.08720.33
5.5.350.0330.06720.31
5.5.340.0030.03717.92
5.5.330.0030.04320.23
5.5.320.0400.03320.50
5.5.310.0370.07020.18
5.5.300.0070.05317.91
5.5.290.0000.06718.02
5.5.280.0070.07720.74
5.5.270.0000.04720.77
5.5.260.0130.08020.75
5.5.250.0130.05720.57
5.5.240.0000.06720.15
5.4.450.0430.05719.48
5.4.440.0430.06319.47
5.4.430.0500.06019.47
5.4.420.0470.05319.13
5.4.410.0530.06319.49
5.4.400.0470.05019.27
5.4.390.0470.05318.99
5.4.380.0430.05019.14
5.4.370.0430.06318.77
5.4.360.0570.05019.14
5.4.350.0630.05019.06
5.4.340.0500.06319.15
5.4.320.0600.05019.06
5.4.310.0570.06019.08
5.4.300.0400.05719.00
5.4.290.0600.06719.14
5.4.280.0630.05318.82
5.4.270.0500.05719.10
5.4.260.0530.05318.82
5.4.250.0670.05319.20
5.4.240.0570.04719.13
5.4.230.0530.05019.29
5.4.220.0470.05019.20
5.4.210.0500.04719.15
5.4.200.0430.05018.94
5.4.190.0470.05019.17
5.4.180.0470.05019.13
5.4.170.0400.05319.13
5.4.160.0570.05318.75
5.4.150.0570.05019.13
5.4.140.0500.05716.48
5.4.130.0530.05316.36
5.4.120.0570.05016.28
5.4.110.0600.06716.43
5.4.100.0630.05316.31
5.4.90.0600.04716.50
5.4.80.0470.05016.22
5.4.70.0500.04716.56
5.4.60.0500.05016.50
5.4.50.0500.04016.05
5.4.40.0570.05016.41
5.4.30.0630.05316.46
5.4.20.0870.04716.19
5.4.10.0630.05016.49
5.4.00.0770.05015.83

preferences:
50.92 ms | 400 KiB | 5 Q