3v4l.org

run code in 300+ PHP versions simultaneously
<?php class test {} echo class_exists('Test') ? 'yes' : 'no'; $a = new 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.5.10.0100.00716.74
8.5.00.0120.00819.66
8.4.150.0030.00014.05
8.4.140.0070.01417.41
8.4.130.0110.01117.56
8.4.120.0120.00823.99
8.4.110.0040.00420.54
8.4.100.0150.00518.75
8.4.90.0090.01020.64
8.4.80.0060.00418.71
8.4.70.0140.00720.65
8.4.60.0140.00718.96
8.4.50.0110.00918.76
8.4.40.0150.00319.51
8.4.30.0120.00622.57
8.4.20.0080.00017.80
8.4.10.0050.00519.53
8.3.280.0150.00718.41
8.3.270.0200.01016.74
8.3.260.0160.00716.46
8.3.250.0080.00117.13
8.3.240.0130.00617.11
8.3.230.0130.00716.17
8.3.220.0140.00519.04
8.3.210.0070.01218.19
8.3.200.0080.00216.62
8.3.190.0140.00517.08
8.3.180.0100.00918.78
8.3.170.0060.01316.39
8.3.160.0130.00718.97
8.3.150.0100.01017.20
8.3.140.0080.00020.60
8.3.130.0030.00616.35
8.3.120.0000.00818.91
8.3.110.0070.01120.94
8.3.100.0030.00624.06
8.3.90.0080.00026.77
8.3.80.0040.00419.36
8.3.70.0040.01816.58
8.3.60.0150.00318.20
8.3.50.0080.01223.56
8.3.40.0130.00618.71
8.3.30.0150.00018.71
8.3.20.0040.00424.18
8.3.10.0030.00524.66
8.3.00.0070.00026.16
8.2.290.0100.00920.40
8.2.280.0120.00818.38
8.2.270.0100.01016.73
8.2.260.0040.00416.52
8.2.250.0040.00416.92
8.2.240.0090.00017.24
8.2.230.0000.00922.58
8.2.220.0060.00337.54
8.2.210.0040.00426.77
8.2.200.0080.00018.88
8.2.190.0130.00716.58
8.2.180.0090.01225.92
8.2.170.0120.00318.95
8.2.160.0140.00322.96
8.2.150.0030.00525.66
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0040.00419.36
8.2.110.0030.00621.11
8.2.100.0060.00617.84
8.2.90.0040.00418.22
8.2.80.0040.00420.57
8.2.70.0090.00417.46
8.2.60.0000.00817.50
8.2.50.0040.00418.07
8.2.40.0000.00717.91
8.2.30.0000.00717.92
8.2.20.0040.00418.07
8.2.10.0000.00719.08
8.2.00.0050.00219.03
8.1.330.0140.00521.82
8.1.320.0070.00215.95
8.1.310.0040.01118.14
8.1.300.0090.00618.48
8.1.290.0090.00030.84
8.1.280.0160.00325.92
8.1.270.0050.00523.99
8.1.260.0080.00026.35
8.1.250.0070.00028.09
8.1.240.0000.00922.14
8.1.230.0060.00620.97
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0090.00017.23
8.1.190.0040.00417.10
8.1.180.0050.00318.10
8.1.170.0070.00318.45
8.1.160.0080.00018.88
8.1.150.0000.00818.81
8.1.140.0040.00418.88
8.1.130.0030.00319.99
8.1.120.0080.00017.29
8.1.110.0000.00717.37
8.1.100.0000.00717.42
8.1.90.0000.00817.27
8.1.80.0060.00317.44
8.1.70.0000.00717.29
8.1.60.0060.00317.38
8.1.50.0030.00617.42
8.1.40.0070.00317.41
8.1.30.0080.00017.56
8.1.20.0030.00517.55
8.1.10.0040.00417.63
8.1.00.0040.00417.41
8.0.300.0040.00419.80
8.0.290.0040.00416.75
8.0.280.0030.00318.45
8.0.270.0000.00718.06
8.0.260.0030.00318.59
8.0.250.0040.00416.84
8.0.240.0040.00416.84
8.0.230.0030.00316.77
8.0.220.0070.00016.82
8.0.210.0070.00016.77
8.0.200.0030.00316.88
8.0.190.0040.00416.94
8.0.180.0040.00416.75
8.0.170.0040.00416.75
8.0.160.0050.00316.86
8.0.150.0000.00716.70
8.0.140.0000.00716.66
8.0.130.0000.00513.22
8.0.120.0040.00416.77
8.0.110.0000.00816.80
8.0.100.0050.00316.82
8.0.90.0040.00416.75
8.0.80.0100.00816.85
8.0.70.0000.00716.70
8.0.60.0050.00316.69
8.0.50.0040.00416.61
8.0.30.0140.00317.20
8.0.20.0150.00316.94
8.0.10.0000.00716.80
8.0.00.0090.01216.72
7.4.330.0030.00315.55
7.4.320.0000.00616.52
7.4.300.0030.00316.43
7.4.290.0030.00316.37
7.4.280.0040.00416.47
7.4.270.0030.00316.54
7.4.260.0000.00513.19
7.4.250.0040.00416.41
7.4.240.0000.00816.47
7.4.230.0000.00716.37
7.4.220.0040.00416.56
7.4.210.0040.01116.46
7.4.200.0040.00416.55
7.4.130.0100.02016.42
7.4.120.0170.00716.37
7.4.110.0110.00816.28
7.4.100.0160.00616.31
7.4.90.0170.00716.13
7.4.80.0150.00916.35
7.4.70.0090.00916.20
7.4.60.0130.00616.21
7.4.50.0040.01516.29
7.4.40.0070.01016.39
7.4.30.0060.01916.48
7.4.20.0090.00916.20
7.4.10.0130.00616.34
7.4.00.0110.00716.26
7.3.330.0000.00716.14
7.3.320.0030.00313.18
7.3.310.0030.00316.04
7.3.300.0070.00016.04
7.3.290.0100.00716.20
7.3.260.0130.01016.21
7.3.250.0250.02216.38
7.3.240.0060.01216.50
7.3.230.0100.01316.36
7.3.220.0140.01016.47
7.3.210.0030.01416.24
7.3.200.0070.01016.38
7.3.190.0040.01316.31
7.3.180.0030.01616.14
7.3.170.0140.00416.25
7.3.160.0160.00316.17
7.3.150.0070.01116.08
7.3.140.0120.00916.16
7.3.130.0170.00616.30
7.3.120.0150.00316.31
7.3.110.0040.01416.32
7.3.100.0090.00916.28
7.3.90.0140.01215.98
7.3.80.0110.00816.30
7.3.70.0140.00316.13
7.3.60.0120.00616.20
7.3.50.0120.00816.22
7.3.40.0190.00316.30
7.3.30.0160.00816.09
7.3.20.0040.01516.33
7.3.10.0050.01416.43
7.3.00.0090.00916.10

preferences:
159.51 ms | 403 KiB | 5 Q