3v4l.org

run code in 300+ PHP versions simultaneously
<?php $class = NonExistentClass::class; var_dump( class_exists($class) ); new $class();

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.4.20.0160.00320.45
8.4.10.0030.00617.85
8.3.150.0030.00617.05
8.3.140.0030.00616.98
8.3.130.0000.01518.14
8.3.120.0160.00318.84
8.3.110.0090.00020.94
8.3.100.0050.00316.90
8.3.90.0090.00426.77
8.3.80.0000.00917.97
8.3.70.0070.01516.50
8.3.60.0090.00618.68
8.3.50.0090.00417.23
8.3.40.0110.00418.85
8.3.30.0150.00018.67
8.3.20.0040.00420.60
8.3.10.0050.00223.53
8.3.00.0040.00423.53
8.2.260.0110.00718.49
8.2.250.0110.00718.65
8.2.240.0070.01018.71
8.2.230.0030.00622.58
8.2.220.0060.00324.06
8.2.210.0110.00726.77
8.2.200.0030.00618.41
8.2.190.0070.00716.88
8.2.180.0110.00716.38
8.2.170.0070.00722.96
8.2.160.0030.01020.41
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0050.00226.16
8.2.120.0070.00319.53
8.2.110.0090.00021.00
8.2.100.0070.00417.59
8.2.90.0050.00317.84
8.2.80.0040.00419.04
8.2.70.0080.00017.92
8.2.60.0060.00318.22
8.2.50.0040.00418.10
8.2.40.0050.00319.31
8.2.30.0020.00519.02
8.2.20.0030.00517.86
8.2.10.0040.00419.32
8.2.00.0050.00318.04
8.1.310.0020.00518.53
8.1.300.0080.00818.05
8.1.290.0060.00330.84
8.1.280.0150.00825.92
8.1.270.0060.00318.89
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0000.00822.03
8.1.230.0030.00920.73
8.1.220.0090.00017.74
8.1.210.0000.00818.91
8.1.200.0060.00317.22
8.1.190.0000.00917.13
8.1.180.0060.00318.10
8.1.170.0060.00318.46
8.1.160.0000.00718.70
8.1.150.0000.00718.86
8.1.140.0050.00218.82
8.1.130.0000.00820.06
8.1.120.0030.00517.29
8.1.110.0000.00817.40
8.1.100.0030.00517.43
8.1.90.0000.00717.40
8.1.80.0060.00317.27
8.1.70.0030.00717.39
8.1.60.0070.00017.55
8.1.50.0050.00217.39
8.1.40.0040.00417.54
8.1.30.0000.00817.61
8.1.20.0000.00917.63
8.1.10.0050.00317.54
8.1.00.0070.00017.55
8.0.300.0050.00320.04
8.0.290.0090.00016.75
8.0.280.0000.00718.28
8.0.270.0000.00717.19
8.0.260.0070.00018.31
8.0.250.0000.00816.96
8.0.240.0070.00016.84
8.0.230.0070.00016.94
8.0.220.0000.00716.89
8.0.210.0030.00316.76
8.0.200.0000.00616.86
8.0.190.0040.00416.83
8.0.180.0050.00316.87
8.0.170.0030.00716.89
8.0.160.0000.00716.89
8.0.150.0000.00716.84
8.0.140.0050.00316.81
8.0.130.0000.00513.33
8.0.120.0040.00416.88
8.0.110.0000.00716.92
8.0.100.0000.00816.86
8.0.90.0040.00416.84
8.0.80.0130.00516.83
8.0.70.0070.00016.91
8.0.60.0040.00416.75
8.0.50.0040.00416.94
8.0.30.0130.00817.03
8.0.20.0130.00617.40
8.0.10.0040.00417.07
8.0.00.0110.00916.70
7.4.330.0000.00615.55
7.4.320.0000.00616.45
7.4.300.0080.00016.48
7.4.290.0030.00316.50
7.4.280.0030.00616.50
7.4.270.0070.00016.52
7.4.260.0000.00716.41
7.4.250.0060.00316.46
7.4.240.0040.00316.51
7.4.230.0050.00216.45
7.4.220.0030.00616.52
7.4.210.0120.00716.50
7.4.200.0000.00716.68
7.4.160.0110.00516.50
7.4.140.0100.00817.86
7.4.130.0000.01616.60
7.4.120.0060.01216.42
7.4.110.0100.01016.58
7.4.100.0110.00816.44
7.4.90.0130.00916.42
7.4.80.0150.00717.91
7.4.70.0160.00416.48
7.4.60.0070.01416.47
7.4.50.0110.00616.46
7.4.40.0110.00916.48
7.4.30.0030.01716.55
7.4.20.0100.01216.64
7.4.10.0170.00316.37
7.4.00.0050.01015.60
7.3.330.0000.00513.17
7.3.320.0050.00313.30
7.3.310.0000.00716.17
7.3.300.0000.00716.18
7.3.290.0000.00616.16
7.3.280.0110.00516.30
7.3.260.0100.00916.38
7.3.240.0100.01116.45
7.3.230.0090.00916.33
7.3.220.0160.00416.39
7.3.210.0120.01016.41
7.3.200.0070.01216.33
7.3.190.0110.00816.45
7.3.180.0130.00616.31
7.3.170.0110.01016.33
7.3.160.0100.00816.42
7.3.150.0110.00816.39
7.3.140.0150.00416.34
7.3.130.0110.00716.12
7.3.120.0050.01115.37
7.3.110.0040.01015.63
7.3.100.0080.00915.59
7.3.90.0110.00615.55
7.3.80.0090.00915.67
7.3.70.0100.00715.57
7.3.60.0120.00415.64
7.3.50.0050.01215.29
7.3.40.0100.00715.26
7.3.30.0080.01015.01
7.3.20.0150.01216.13
7.3.10.0150.00715.71
7.3.00.0140.00915.74
7.2.340.0100.01016.59
7.2.330.0090.00916.24
7.2.320.0140.00616.44
7.2.310.0120.00716.48
7.2.300.0130.00516.49
7.2.290.0100.00916.35
7.2.280.0100.00716.25
7.2.270.0120.00616.34
7.2.260.0070.01016.29
7.2.250.0030.01416.46
7.2.240.0120.00615.61
7.2.230.0080.00815.50
7.2.220.0090.00915.68
7.2.210.0050.01115.66
7.2.200.0110.00515.53
7.2.190.0090.00915.67
7.2.180.0090.00815.17
7.2.170.0090.00615.31
7.2.160.0040.01215.14
7.2.150.0090.00816.20
7.2.140.0060.00916.17
7.2.130.0250.00915.88
7.2.120.2480.01115.88
7.2.110.1960.01015.85
7.2.100.1620.00915.86
7.2.90.0330.00815.86
7.2.80.0140.00815.94
7.2.70.0180.00715.86
7.2.60.0160.00815.87
7.2.50.0140.00616.00
7.2.40.0160.00915.97
7.2.30.0240.00715.92
7.2.20.1630.00815.90
7.2.10.0390.00715.89
7.2.00.1870.00615.91
7.1.330.0070.00715.72
7.1.320.0090.01015.78
7.1.310.0090.00515.66
7.1.300.0100.00815.48
7.1.290.0080.01015.64
7.1.280.0100.00815.61
7.1.270.0100.00915.11
7.1.260.0100.01015.16
7.1.250.0120.00914.87
7.1.240.0080.01415.55
7.1.230.0130.00715.50
7.1.220.0040.01215.45
7.1.210.0100.00915.58
7.1.200.0070.00515.50
7.1.190.0110.00915.48
7.1.180.0060.00715.54
7.1.170.0050.01315.59
7.1.160.0080.01015.49
7.1.150.0090.00415.78
7.1.140.0100.00615.68
7.1.130.0070.00715.65
7.1.120.0120.00615.71
7.1.110.0030.01015.55
7.1.100.0040.01015.72
7.1.90.0090.00515.66
7.1.80.0130.00715.53
7.1.70.0090.00515.64
7.1.60.0080.00515.48
7.1.50.0130.00515.58
7.1.40.0090.00815.58
7.1.30.0070.00715.62
7.1.20.0070.00615.40
7.1.10.0090.00515.73
7.1.00.0080.00815.56

preferences:
33.7 ms | 403 KiB | 5 Q