3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = ((array) new DateTime())['timezone_type']; if ($x > 0) { var_dump('ok'); }

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.140.0040.00416.57
8.3.130.0030.00516.71
8.3.120.0000.00919.03
8.3.110.0120.00320.94
8.3.100.0100.01016.54
8.3.90.0000.00826.77
8.3.80.0040.00416.66
8.3.70.0040.01116.63
8.3.60.0070.00718.43
8.3.50.0120.00517.49
8.3.40.0090.00618.92
8.3.30.0140.00018.59
8.3.20.0050.00320.77
8.3.10.0030.00520.65
8.3.00.0040.00419.51
8.2.250.0060.00318.64
8.2.240.0060.01017.16
8.2.230.0050.00522.58
8.2.220.0030.00624.06
8.2.210.0090.00626.77
8.2.200.0090.00016.63
8.2.190.0070.00716.58
8.2.180.0070.00725.92
8.2.170.0060.01222.96
8.2.160.0100.00319.24
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0060.00326.16
8.2.120.0080.00019.35
8.2.110.0000.01020.95
8.2.100.0060.00617.91
8.2.90.0000.00720.58
8.2.80.0050.00317.97
8.2.70.0000.00918.05
8.2.60.0000.00818.09
8.2.50.0040.00418.10
8.2.40.0060.00321.16
8.2.30.0070.00019.40
8.2.20.0080.00018.00
8.2.10.0020.00519.42
8.2.00.0040.00418.03
8.1.300.0140.00619.59
8.1.290.0030.00618.88
8.1.280.0090.00625.92
8.1.270.0000.00720.20
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0060.00319.32
8.1.230.0070.00417.64
8.1.220.0080.00017.74
8.1.210.0060.00318.79
8.1.200.0080.00017.47
8.1.190.0050.00317.25
8.1.180.0080.00018.10
8.1.170.0040.00418.67
8.1.160.0050.00218.88
8.1.150.0040.00418.76
8.1.140.0000.00720.18
8.1.130.0000.00920.13
8.1.120.0030.00517.47
8.1.110.0040.00417.61
8.1.100.0000.00717.53
8.1.90.0040.00417.63
8.1.80.0050.00317.54
8.1.70.0080.00317.61
8.1.60.0030.00617.59
8.1.50.0050.00317.50
8.1.40.0030.00617.51
8.1.30.0040.00417.82
8.1.20.0060.00317.73
8.1.10.0040.00417.61
8.1.00.0030.00617.64
8.0.300.0000.00719.91
8.0.290.0000.00916.88
8.0.280.0000.00718.39
8.0.270.0030.00516.85
8.0.260.0030.00318.36
8.0.250.0030.00317.06
8.0.240.0030.00317.00
8.0.230.0070.00017.00
8.0.220.0030.00317.00
8.0.210.0040.00417.05
8.0.200.0030.00317.09
8.0.190.0080.00017.00
8.0.180.0040.00417.07
8.0.170.0040.00417.07
8.0.160.0050.00216.94
8.0.150.0000.00716.84
8.0.140.0000.00716.95
8.0.130.0050.00013.33
8.0.120.0040.00417.01
8.0.110.0020.00517.03
8.0.100.0000.00717.06
8.0.90.0070.00017.07
8.0.80.0070.01317.08
8.0.70.0000.00717.09
8.0.60.0000.00716.96
8.0.50.0000.00716.93
8.0.30.0090.00817.23
8.0.20.0030.01517.23
8.0.10.0040.00417.26
8.0.00.0090.01216.81
7.4.330.0030.00315.55
7.4.320.0000.00716.74
7.4.300.0060.00016.74
7.4.290.0030.00316.59
7.4.280.0000.00816.68
7.4.270.0060.00316.65
7.4.260.0080.00016.61
7.4.250.0040.00416.70
7.4.240.0070.00016.59
7.4.230.0030.00516.48
7.4.220.0000.00816.74
7.4.210.0040.01216.65
7.4.200.0070.00016.53
7.4.160.0080.01016.75
7.4.140.0080.01317.86
7.4.130.0090.00916.65
7.4.120.0130.00916.67
7.3.330.0000.00513.28
7.3.320.0030.00313.29
7.3.310.0000.00716.52
7.3.300.0000.00716.49
7.3.290.0060.00016.45
7.3.280.0080.00816.40
7.3.260.0100.00916.56
7.3.240.0100.00916.46
7.3.20.0490.00715.05

preferences:
67.01 ms | 403 KiB | 5 Q