3v4l.org

run code in 300+ PHP versions simultaneously
<?php ini_set("date.timezone", ''); var_dump(ini_get("date.timezone")); var_dump(date_default_timezone_get());

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.130.0060.00318.55
8.3.120.0080.00418.80
8.3.110.0060.00318.33
8.3.100.0000.00918.72
8.3.90.0080.00026.77
8.3.80.0080.00418.68
8.3.70.0060.00816.63
8.3.60.0100.01018.68
8.3.50.0120.00321.97
8.3.40.0070.00718.98
8.3.30.0000.01518.81
8.3.20.0040.00420.32
8.3.10.0030.00523.48
8.3.00.0090.00019.50
8.2.250.0080.00017.25
8.2.240.0070.01116.93
8.2.230.0000.00820.94
8.2.220.0030.01224.06
8.2.210.0000.00726.77
8.2.200.0110.00018.54
8.2.190.0130.00616.58
8.2.180.0070.00716.34
8.2.170.0120.00622.96
8.2.160.0070.00719.38
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0040.00422.27
8.2.120.0070.00026.35
8.2.110.0000.00920.34
8.2.100.0090.00317.84
8.2.90.0050.00319.17
8.2.80.0000.00817.97
8.2.70.0030.00517.38
8.2.60.0030.00617.80
8.2.50.0000.00818.10
8.2.40.0130.00019.88
8.2.30.0040.00419.11
8.2.20.0030.00517.52
8.2.10.0000.00718.04
8.2.00.0040.00418.03
8.1.300.0120.00315.78
8.1.290.0060.00330.84
8.1.280.0110.00425.92
8.1.270.0140.00023.88
8.1.260.0070.00028.09
8.1.250.0000.00828.09
8.1.240.0080.00022.09
8.1.230.0080.00319.16
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0030.00617.25
8.1.190.0050.00317.10
8.1.180.0000.00718.10
8.1.170.0060.00318.66
8.1.160.0040.00422.18
8.1.150.0000.00818.68
8.1.140.0050.00219.50
8.1.130.0050.00217.57
8.1.120.0030.00517.33
8.1.110.0000.00817.30
8.1.100.0000.00717.30
8.1.90.0020.00517.36
8.1.80.0050.00217.43
8.1.70.0030.00317.36
8.1.60.0040.00417.47
8.1.50.0030.00517.38
8.1.40.0000.00817.46
8.1.30.0070.00317.50
8.1.20.0030.00617.44
8.1.10.0000.00817.39
8.1.00.0000.00817.32
8.0.300.0040.00419.62
8.0.290.0000.00716.58
8.0.280.0040.00418.27
8.0.270.0000.00717.04
8.0.260.0070.00017.03
8.0.250.0050.00516.88
8.0.240.0030.00316.89
8.0.230.0030.00616.84
8.0.220.0000.00716.80
8.0.210.0030.00516.80
8.0.200.0070.00016.85
8.0.190.0000.00716.79
8.0.180.0040.00416.84
8.0.170.0040.00416.84
8.0.160.0030.00316.66
8.0.150.0030.00616.72
8.0.140.0070.00016.70
8.0.130.0030.00313.15
8.0.120.0000.00816.74
8.0.110.0030.00516.65
8.0.100.0000.00716.63
8.0.90.0040.00416.73
8.0.80.0140.00316.74
8.0.70.0040.00416.63
8.0.60.0040.00416.65
8.0.50.0040.00416.82
8.0.30.0090.01217.10
8.0.20.0140.00617.40
8.0.10.0000.00816.92
8.0.00.0090.00916.68
7.4.330.0050.00015.08
7.4.320.0000.00616.38
7.4.300.0030.00316.46
7.4.290.0000.00716.37
7.4.280.0040.00416.44
7.4.270.0070.00016.43
7.4.260.0030.00716.36
7.4.250.0030.00316.47
7.4.240.0030.00316.36
7.4.230.0000.00616.12
7.4.220.0090.01016.46
7.4.210.0090.00816.43
7.4.200.0030.00316.49
7.4.160.0030.01216.40
7.4.150.0030.01517.40
7.4.140.0110.00717.86
7.4.130.0100.00716.51
7.4.120.0070.01016.21
7.4.110.0170.00616.30
7.4.100.0040.01216.27
7.4.90.0070.01016.44
7.4.80.0150.00319.39
7.4.70.0030.01316.51
7.4.60.0040.01416.52
7.4.50.0070.00716.06
7.4.40.0100.01316.57
7.4.30.0150.00616.52
7.4.00.0120.00414.76
7.3.330.0030.00312.94
7.3.320.0020.00313.04
7.3.310.0030.00316.02
7.3.300.0030.00316.23
7.3.290.0000.00716.24
7.3.280.0080.00916.23
7.3.270.0080.01517.40
7.3.260.0110.00616.36
7.3.250.0100.01016.30
7.3.240.0040.01216.30
7.3.230.0140.00316.39
7.3.210.0090.00916.43
7.3.200.0030.01219.39
7.3.190.0040.01116.44
7.3.180.0100.01116.26
7.3.170.0100.00716.46
7.3.160.0060.01316.23
7.3.10.0130.00016.64
7.3.00.0040.00816.43
7.2.330.0070.01016.58
7.2.320.0110.00716.30
7.2.310.0030.01316.61
7.2.300.0070.01016.38
7.2.290.0060.01016.34
7.2.130.0030.00616.60
7.2.120.0040.01116.68
7.2.110.0060.00616.78
7.2.100.0090.00316.82
7.2.90.0110.00416.91
7.2.80.0100.00316.86
7.2.70.0080.00316.68
7.2.60.0040.01116.73
7.2.50.0000.00916.92
7.2.40.0030.01016.78
7.2.30.0030.01016.77
7.2.20.0000.01116.83
7.2.10.0070.00316.75
7.2.00.0070.00716.84
7.1.250.0070.00715.66
7.0.80.0960.01213.41
7.0.70.1000.00313.28
7.0.60.1380.00013.36
7.0.50.0930.00613.47
7.0.40.1310.00713.32
7.0.30.1080.00413.53
7.0.20.1380.00313.48
7.0.10.1250.00313.57
7.0.00.1050.01013.34
5.6.230.0180.00513.98
5.6.220.0070.01514.23
5.6.210.0190.00013.79
5.6.200.0180.00014.24
5.6.190.0120.00614.12
5.6.180.0170.00314.13
5.6.170.0120.00613.99
5.6.160.0080.01114.12
5.6.150.0160.01514.24
5.6.140.0150.00314.14
5.6.130.0130.00314.17
5.6.120.0190.00413.84
5.6.110.0120.00914.25
5.6.100.0170.00413.99
5.6.90.0100.01213.80
5.6.80.0090.00914.18
5.6.70.0170.00014.03
5.6.60.0200.00314.09
5.6.50.0060.01513.64
5.6.40.0170.00713.92
5.6.30.0130.00813.90
5.6.20.0090.00914.01
5.6.10.0070.00714.11
5.6.00.0160.00414.04
5.5.370.0120.00311.08
5.5.360.0100.00710.85
5.5.350.0030.00910.75
5.5.340.0130.00010.75
5.5.330.0090.00510.92
5.5.320.0070.00710.86
5.5.310.0100.00710.88
5.5.300.0120.00310.84
5.5.290.0100.00310.87
5.5.280.0090.00610.93
5.5.270.0080.00810.85
5.5.260.0120.00410.98
5.5.250.0030.01210.95
5.5.240.0080.00810.87
5.5.230.0110.00410.89
5.5.220.0090.00410.71
5.5.210.0120.00410.89
5.5.200.0110.00510.63
5.5.190.0140.00010.53
5.5.180.0100.00310.89
5.5.170.0140.00614.02
5.5.160.0060.00910.82
5.5.150.0060.00610.76
5.5.140.0100.00010.57
5.5.130.0060.00610.82
5.5.120.0110.00010.67
5.5.110.0090.00310.60
5.5.100.0030.00910.63
5.5.90.0070.00310.61
5.5.80.0090.00310.54
5.5.70.0070.00710.80
5.5.60.0060.00310.58
5.5.50.0050.00510.73
5.5.40.0040.00710.82
5.5.30.0060.00310.73
5.5.20.0040.00710.68
5.5.10.0050.00610.86
5.5.00.0090.00310.75

preferences:
27.59 ms | 403 KiB | 5 Q