3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (new DateTime() > new DateTime("2010-05-15 16:00:00")) { echo "HELLO"; # current time is greater than 2010-05-15 16:00:00 # in other words, 2010-05-15 16:00:00 has passed }

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.70.0120.00316.87
8.3.60.0090.00918.39
8.3.50.0090.00918.33
8.3.40.0080.00819.02
8.3.30.0150.00018.86
8.3.20.0040.00419.15
8.3.10.0080.00021.69
8.3.00.0050.00220.77
8.2.190.0170.00318.41
8.2.180.0110.01118.29
8.2.170.0040.01122.96
8.2.160.0070.01022.09
8.2.150.0030.00624.18
8.2.140.0050.00324.66
8.2.130.0070.00019.64
8.2.120.0030.00626.35
8.2.110.0060.00321.04
8.2.100.0090.00317.72
8.2.90.0000.00719.39
8.2.80.0060.00319.48
8.2.70.0040.00417.93
8.2.60.0040.00418.22
8.2.50.0000.00918.10
8.2.40.0050.00322.32
8.2.30.0040.00419.26
8.2.20.0040.00418.05
8.2.10.0000.00818.15
8.2.00.0040.00418.27
8.1.280.0110.01125.92
8.1.270.0070.00022.19
8.1.260.0050.00326.35
8.1.250.0070.00028.09
8.1.240.0060.00322.59
8.1.230.0100.00021.04
8.1.220.0050.00317.74
8.1.210.0060.00318.85
8.1.200.0040.00417.48
8.1.190.0040.00717.35
8.1.180.0040.00418.10
8.1.170.0000.00818.62
8.1.160.0000.00718.93
8.1.150.0050.00218.93
8.1.140.0070.00022.04
8.1.130.0060.00320.14
8.1.120.0030.00517.48
8.1.110.0000.00817.57
8.1.100.0000.00717.53
8.1.90.0070.00017.46
8.1.80.0000.00717.57
8.1.70.0040.00417.56
8.1.60.0030.00517.61
8.1.50.0080.00017.45
8.1.40.0000.01217.48
8.1.30.0040.00717.69
8.1.20.0040.00417.75
8.1.10.0040.00417.70
8.1.00.0050.00217.68
8.0.300.0000.00819.84
8.0.290.0000.00716.88
8.0.280.0030.00318.53
8.0.270.0070.00017.34
8.0.260.0030.00318.39
8.0.250.0000.00817.08
8.0.240.0040.00417.15
8.0.230.0050.00317.14
8.0.220.0000.00816.92
8.0.210.0000.00716.92
8.0.200.0000.00716.99
8.0.190.0050.00217.02
8.0.180.0000.00816.93
8.0.170.0090.00017.05
8.0.160.0070.00017.03
8.0.150.0070.00017.01
8.0.140.0000.00816.87
8.0.130.0030.00313.34
8.0.120.0030.00617.00
8.0.110.0000.00716.96
8.0.100.0000.00816.91
8.0.90.0040.00416.97
8.0.80.0060.01116.98
8.0.70.0050.00316.89
8.0.60.0040.00416.82
8.0.50.0040.00417.02
8.0.30.0140.00317.23
8.0.20.0000.01917.40
8.0.10.0040.00417.05
8.0.00.0070.01216.78
7.4.330.0060.00015.55
7.4.320.0060.00016.64
7.4.300.0000.00616.57
7.4.290.0050.00316.61
7.4.280.0000.00816.50
7.4.270.0000.00616.69
7.4.260.0000.00716.58
7.4.250.0000.00716.52
7.4.240.0030.00316.64
7.4.230.0000.00716.64
7.4.220.0050.00316.64
7.4.210.0050.00816.56
7.4.200.0030.00316.31
7.4.160.0100.00616.50
7.4.140.0090.00817.86
7.4.130.0090.00916.55
7.4.120.0100.00716.62
7.4.110.0060.01216.48
7.4.100.0120.00916.62
7.4.90.0140.00616.65
7.4.80.0150.00319.39
7.4.70.0130.00416.65
7.4.60.0080.00816.50
7.4.50.0110.00416.45
7.4.40.0110.01116.70
7.4.00.0030.01015.11
7.3.330.0020.00213.01
7.3.320.0050.00013.14
7.3.310.0030.00316.39
7.3.300.0030.00316.35
7.3.290.0030.00316.32
7.3.280.0030.01316.23
7.3.260.0100.01016.50
7.3.240.0080.01016.45
7.3.230.0130.00416.24
7.3.210.0070.01116.55
7.3.200.0070.01016.56
7.3.190.0120.01216.45
7.3.180.0100.00716.42
7.3.170.0090.01016.55
7.3.160.0070.01016.44
7.2.330.0090.01316.61
7.2.320.0030.02016.88
7.2.310.0070.01016.80
7.2.300.0060.01216.85
7.2.290.0110.00716.66
7.2.120.0090.00616.68
7.2.110.0060.00616.59
7.2.100.0070.00416.55
7.2.90.0000.01516.50
7.2.80.0060.00816.27
7.2.70.0080.00416.82
7.2.60.0110.00416.83
7.2.50.0110.00416.93
7.2.40.0140.00016.99
7.2.30.0080.00816.80
7.2.20.0100.00616.82
7.2.10.0090.00616.63
7.2.00.0000.01217.08
7.1.240.0060.00615.73
7.1.230.0080.00815.58
7.1.220.0090.00315.66
7.1.210.0040.00815.66
7.1.200.0040.01115.45
7.1.190.0070.00715.43
7.1.180.0080.00615.66
7.1.170.0100.00315.77
7.1.160.0040.01115.80
7.1.150.0070.00315.71
7.1.140.0080.00315.57
7.1.130.0000.01015.78
7.1.120.0110.00315.90
7.1.110.0000.01115.67
7.1.100.0060.00915.77
7.1.90.0080.00515.72
7.1.80.0110.00015.91
7.1.70.0080.00515.68
7.1.60.0040.00715.78
7.1.50.0060.00915.51
7.1.40.0000.01115.65
7.1.30.0090.00315.57
7.1.20.0060.00915.46
7.1.10.0030.01215.54
7.1.00.0110.00415.64
5.6.380.0070.00714.23

preferences:
33.07 ms | 401 KiB | 5 Q