3v4l.org

run code in 300+ PHP versions simultaneously
<?php/* Note the use of quotes, this is important.  This example is checking * if the string 'TEST' is the name of a constant named TEST */if (defined('TEST')) {    echo TEST;}?>

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.0110.01118.30
8.3.50.0130.00822.99
8.3.40.0070.00718.71
8.3.30.0100.00318.97
8.3.20.0040.00420.13
8.3.10.0000.00823.53
8.3.00.0040.00417.38
8.2.180.0120.00316.32
8.2.170.0100.00322.96
8.2.160.0030.01420.52
8.2.150.0100.01024.18
8.2.140.0000.00824.66
8.2.130.0080.01126.16
8.2.120.0070.00020.96
8.2.110.0060.00321.12
8.2.100.0000.01117.72
8.2.90.0030.00519.09
8.2.80.0060.00317.97
8.2.70.0000.00817.63
8.2.60.0080.00017.90
8.2.50.0060.00318.10
8.2.40.0100.00020.48
8.2.30.0000.00717.80
8.2.20.0060.00317.48
8.2.10.0000.00717.98
8.2.00.0000.00717.52
8.1.280.0110.00425.92
8.1.270.0150.00023.80
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0030.00621.24
8.1.230.0040.00717.42
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0030.00617.10
8.1.190.0060.00317.23
8.1.180.0000.00818.10
8.1.170.0000.00918.48
8.1.160.0040.00421.98
8.1.150.0000.00718.62
8.1.140.0040.00417.30
8.1.130.0000.00817.79
8.1.120.0030.00517.25
8.1.110.0050.00217.34
8.1.100.0000.00717.22
8.1.90.0000.00717.20
8.1.80.0080.00017.19
8.1.70.0000.00717.22
8.1.60.0030.00617.41
8.1.50.0040.00417.41
8.1.40.0040.00417.38
8.1.30.0080.00017.56
8.1.20.0030.00617.44
8.1.10.0000.00717.40
8.1.00.0080.00017.39
8.0.300.0000.00918.77
8.0.290.0070.00416.63
8.0.280.0030.00318.36
8.0.270.0000.00717.18
8.0.260.0080.00017.18
8.0.250.0040.00416.84
8.0.240.0030.00316.84
8.0.230.0030.00316.69
8.0.220.0030.00316.79
8.0.210.0000.00816.63
8.0.200.0030.00316.70
8.0.190.0030.00316.81
8.0.180.0000.00816.79
8.0.170.0040.00416.76
8.0.160.0040.00416.83
8.0.150.0030.00316.59
8.0.140.0030.00516.74
8.0.130.0040.00413.29
8.0.120.0070.00016.74
8.0.110.0080.00016.61
8.0.100.0000.00816.62
8.0.90.0000.00716.70
8.0.80.0110.00416.72
8.0.70.0050.00316.68
8.0.60.0040.00416.77
8.0.50.0040.00416.58
8.0.30.0150.00916.86
8.0.20.0060.01217.40
8.0.10.0000.00816.66
8.0.00.0070.01016.65
7.4.330.0020.00215.19
7.4.320.0030.00316.44
7.4.300.0000.00616.38
7.4.290.0000.00716.34
7.4.280.0040.00416.41
7.4.270.0000.00716.27
7.4.260.0050.00216.32
7.4.250.0070.00016.30
7.4.240.0020.00516.25
7.4.230.0000.00716.43
7.4.220.0070.01116.46
7.4.210.0070.00716.46
7.4.200.0050.00316.52
7.4.160.0050.01016.36
7.4.150.0000.01917.40
7.4.140.0110.00617.86
7.4.130.0080.01016.43
7.4.120.0090.01016.50
7.4.110.0070.01016.26
7.4.100.0090.00916.24
7.4.90.0140.00316.67
7.4.80.0070.01419.39
7.4.70.0080.00816.52
7.4.60.0060.01116.20
7.4.50.0040.00416.41
7.4.40.0150.00316.41
7.4.30.0110.00616.33
7.3.330.0030.00313.23
7.3.320.0020.00312.95
7.3.310.0000.00715.96
7.3.300.0000.00716.11
7.3.290.0110.00816.08
7.3.280.0050.01016.16
7.3.270.0060.01217.40
7.3.260.0130.00316.43
7.3.250.0090.00916.36
7.3.240.0090.00916.06
7.3.230.0030.01316.45
7.3.210.0100.00616.30
7.3.200.0070.01019.39
7.3.190.0120.00916.43
7.3.180.0060.00916.21
7.3.170.0210.00016.38
7.3.160.0030.01416.16
7.2.330.0040.01316.59
7.2.320.0090.00916.50
7.2.310.0080.01416.55
7.2.300.0040.01516.28
7.2.290.0060.01016.63
5.4.320.3830.04018.99
5.4.310.4100.03018.98
5.4.300.4100.04019.16
5.4.290.4070.04019.09
5.4.280.3770.04318.99
5.4.270.3700.04018.82
5.4.260.3570.04319.04
5.4.250.3470.04019.06
5.4.240.3330.03719.20
5.4.230.3600.03719.12
5.4.220.3530.04319.22
5.4.210.3570.03718.84
5.4.200.3670.04319.21
5.4.190.3730.02318.97
5.4.180.3330.04019.30
5.4.170.3930.03018.93
5.4.160.3530.03718.85
5.4.150.3700.03319.20
5.4.140.4500.04316.51
5.4.130.4230.03716.50
5.4.120.4500.02716.49
5.4.110.3400.03316.36
5.4.100.3370.03716.45
5.4.90.3400.03016.42
5.4.80.3300.03716.55
5.4.70.3330.02716.58
5.4.60.3570.03716.54
5.4.50.3300.03716.53
5.4.40.3800.04316.38
5.4.30.3530.04016.47
5.4.20.3530.03716.34
5.4.10.3800.02716.25
5.4.00.3700.04015.96

preferences:
42.15 ms | 401 KiB | 5 Q