3v4l.org

run code in 300+ PHP versions simultaneously
<?php class CI_Config {} if (!class_exists('MX_Config')) { class MX_Config extends CI_Config {} } class MY_Config extends MX_Config {} $config = new MY_Config(); var_dump( $config instanceof MX_Config, $config instanceof CI_Config );

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.0110.00716.58
8.3.60.0100.00718.30
8.3.50.0130.00716.54
8.3.40.0090.00618.60
8.3.30.0150.00418.57
8.3.20.0110.00420.39
8.3.10.0040.00421.96
8.3.00.0040.00419.56
8.2.190.0150.00316.58
8.2.180.0110.00425.92
8.2.170.0110.01118.93
8.2.160.0090.00619.36
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0000.00926.16
8.2.120.0040.00419.85
8.2.110.0030.00719.29
8.2.100.0090.00317.78
8.2.90.0030.00617.78
8.2.80.0000.00819.16
8.2.70.0000.00917.63
8.2.60.0080.00017.93
8.2.50.0050.00318.10
8.2.40.0000.00720.55
8.2.30.0030.00518.02
8.2.20.0040.00418.05
8.2.10.0000.00818.11
8.2.00.0000.00718.10
8.1.280.0100.00725.92
8.1.270.0060.00323.89
8.1.260.0080.00026.35
8.1.250.0070.00028.09
8.1.240.0040.00419.21
8.1.230.0060.00620.97
8.1.220.0030.00617.75
8.1.210.0000.00818.79
8.1.200.0000.00917.23
8.1.190.0080.00017.22
8.1.180.0020.00518.10
8.1.170.0040.00418.51
8.1.160.0000.00818.80
8.1.150.0040.00418.81
8.1.140.0000.00819.45
8.1.130.0040.00420.61
8.1.120.0030.00517.35
8.1.110.0040.00417.50
8.1.100.0050.00817.31
8.1.90.0050.00617.43
8.1.80.0040.00817.42
8.1.70.0110.00117.48
8.1.60.0120.00317.55
8.1.50.0050.00817.48
8.1.40.0150.00017.51
8.1.30.0080.00617.60
8.1.20.0080.00517.55
8.1.10.0080.00617.47
8.1.00.0100.00417.39
8.0.300.0040.00419.89
8.0.290.0040.00416.63
8.0.280.0040.00418.42
8.0.270.0000.00717.19
8.0.260.0060.00018.88
8.0.250.0000.00716.83
8.0.240.0040.00416.85
8.0.230.0070.00016.88
8.0.220.0020.00916.85
8.0.210.0060.00516.78
8.0.200.0060.00516.94
8.0.190.0030.00916.93
8.0.180.0020.01016.89
8.0.170.0080.00416.88
8.0.160.0080.00316.91
8.0.150.0060.00516.78
8.0.140.0060.00516.82
8.0.130.0060.00515.05
8.0.120.0060.00616.79
8.0.110.0060.00516.92
8.0.100.0060.00516.78
8.0.90.0080.00316.78
8.0.80.0150.00316.88
8.0.70.0050.00616.75
8.0.60.0050.00616.79
8.0.50.0040.00716.93
8.0.30.0120.00617.01
8.0.20.0070.01217.30
8.0.10.0000.01116.82
8.0.00.0110.01016.88
7.4.330.0020.00215.55
7.4.320.0030.00316.57
7.4.300.0060.00616.51
7.4.290.0090.00316.48
7.4.280.0090.00416.55
7.4.270.0060.00516.56
7.4.260.0050.00716.49
7.4.250.0090.00316.57
7.4.240.0100.00116.49
7.4.230.0040.00616.60
7.4.220.0120.00616.45
7.4.210.0090.00616.57
7.4.200.0060.00516.57
7.4.190.0110.00416.61
7.4.180.0080.00416.51
7.4.160.0070.01016.43
7.4.150.0060.00616.92
7.4.140.0080.01117.50
7.4.130.0090.00816.37
7.4.120.0110.00716.47
7.4.110.0070.00816.41
7.4.100.0090.00816.44
7.4.90.0080.00816.46
7.4.80.0100.00917.96
7.4.70.0150.00516.43
7.4.60.0130.00316.36
7.4.50.0110.00516.38
7.4.40.0080.00616.27
7.4.30.0080.00716.36
7.4.20.0100.00316.38
7.4.10.0120.00316.36
7.4.00.0090.00615.39
7.3.330.0090.00415.53
7.3.320.0040.00714.79
7.3.310.0110.00016.25
7.3.300.0090.00216.21
7.3.290.0040.01016.27
7.3.280.0090.00916.29
7.3.270.0070.00816.84
7.3.260.0100.00916.35
7.3.250.0120.00516.49
7.3.240.0130.00416.35
7.3.230.0110.00516.18
7.3.220.0040.01116.18
7.3.210.0080.00716.23
7.3.200.0120.00416.23
7.3.190.0110.00616.16
7.3.180.0120.00416.26
7.3.170.0110.00416.38
7.3.160.0080.00816.30
7.3.150.0090.00416.27
7.3.140.0080.00816.31
7.3.130.0110.00416.05
7.3.120.0090.00715.55
7.3.110.0100.00715.52
7.3.100.0110.00315.33
7.3.90.0070.00915.37
7.3.80.0060.01015.52
7.3.70.0100.00515.58
7.3.60.0090.00615.56
7.3.50.0060.00615.54
7.3.40.0090.00515.63
7.3.30.0080.00615.49
7.3.20.0080.00517.39
7.3.10.0070.00717.00
7.3.00.0090.00517.12
7.2.340.0120.00316.20
7.2.330.0150.00516.38
7.2.320.0120.00616.35
7.2.310.0090.00616.25
7.2.300.0080.00816.46
7.2.290.0070.01016.52
7.2.280.0100.00516.19
7.2.270.0080.00716.15
7.2.260.0150.00016.40
7.2.250.0080.00915.49
7.2.240.0060.01115.52
7.2.230.0100.00715.54
7.2.220.0110.00615.47
7.2.210.0060.01115.62
7.2.200.0090.00515.48
7.2.190.0070.00915.67
7.2.180.0050.01115.67
7.2.170.0090.00715.76
7.2.160.0150.00016.50
7.2.150.0130.00218.31
7.2.140.0070.00718.25
7.2.130.0110.00317.63
7.2.120.0110.00417.49
7.2.110.0080.00517.57
7.2.100.0080.00517.59
7.2.90.0070.00917.69
7.2.80.0040.00817.22
7.2.70.0060.00917.65
7.2.60.0060.00717.28
7.2.50.0040.00917.52
7.2.40.0100.00417.59
7.2.30.0080.00617.60
7.2.20.0070.00717.45
7.2.10.0090.00517.51
7.2.00.0080.00617.53
7.1.330.0090.00416.55
7.1.320.0100.00716.55
7.1.310.0050.00916.57
7.1.300.0060.00616.53
7.1.290.0090.00516.41
7.1.280.0110.00516.39
7.1.270.0060.00816.46
7.1.260.0090.00716.56
7.1.250.0100.00416.38
7.1.240.0060.00917.33
7.1.230.0140.00017.16
7.1.220.0070.00717.34
7.1.210.0080.00817.41
7.1.200.0080.00416.37
7.1.190.0120.00217.23
7.1.180.0100.00517.21
7.1.170.0100.00517.09
7.1.160.0110.00417.20
7.1.150.0100.00617.11
7.1.140.0080.00817.27
7.1.130.0120.00317.08
7.1.120.0160.00017.23
7.1.110.0050.00917.28
7.1.100.0160.00017.12
7.1.90.0100.00517.21
7.1.80.0100.00617.59
7.1.70.0130.00417.06
7.1.60.0120.01325.92
7.1.50.0170.00725.90
7.1.40.0190.01025.84
7.1.30.0150.00925.74
7.1.20.0220.00625.88
7.1.10.0090.00616.92
7.1.00.0070.00816.82
7.0.330.0050.01016.89
7.0.320.0090.00516.82
7.0.310.0040.01117.06
7.0.300.0140.00017.06
7.0.290.0070.00716.74
7.0.280.0070.00716.84
7.0.270.0050.00817.01
7.0.260.0130.00416.78
7.0.250.0090.00616.96
7.0.240.0160.00017.20
7.0.230.0100.00316.93
7.0.220.0070.00716.99
7.0.210.0130.00016.97
7.0.200.0100.00716.86
7.0.190.0100.00616.77
7.0.180.0060.00816.57
7.0.170.0100.00716.72
7.0.160.0090.00616.61
7.0.150.0060.00716.61
7.0.140.0030.01016.62
7.0.130.0020.01216.90
7.0.120.0090.00616.69
7.0.110.0070.00816.71
7.0.100.0070.00816.58
7.0.90.0050.00916.68
7.0.80.0040.01116.62
7.0.70.0070.00716.51
7.0.60.0080.00616.44
7.0.50.0080.00616.61
7.0.40.0030.01116.78
7.0.30.0060.00716.74
7.0.20.0040.00916.58
7.0.10.0050.00916.79
7.0.00.0060.00816.60
5.6.400.0080.00415.91
5.6.390.0110.00315.85
5.6.380.0090.00515.71
5.6.370.0070.00615.82
5.6.360.0080.00715.63
5.6.350.0100.00315.77
5.6.340.0040.00915.77
5.6.330.0140.00015.75
5.6.320.0060.00615.90
5.6.310.0110.00415.69
5.6.300.0070.00715.75
5.6.290.0110.00215.84
5.6.280.0090.00315.89
5.6.270.0120.00315.68
5.6.260.0110.00315.69
5.6.250.0130.00015.73
5.6.240.0090.00415.76
5.6.230.0040.00915.82
5.6.220.0120.00315.86
5.6.210.0070.00715.76
5.6.200.0040.00915.97
5.6.190.0130.00016.12
5.6.180.0070.00715.96
5.6.170.0090.00515.95
5.6.160.0090.00315.99
5.6.150.0130.00015.87
5.6.140.0030.01015.86
5.6.130.0130.00015.79
5.6.120.0030.01015.96
5.6.110.0090.00415.95
5.6.100.0140.00015.68
5.6.90.0140.00015.79
5.6.80.0100.00315.67
5.6.70.0070.00715.90
5.6.60.0030.01215.91
5.6.50.0050.01015.86
5.6.40.0120.00015.76
5.6.30.0070.00715.84
5.6.20.0030.01015.88
5.6.10.0040.01115.70
5.6.00.0070.00515.70

preferences:
24.69 ms | 401 KiB | 5 Q