3v4l.org

run code in 300+ PHP versions simultaneously
<?php class ChildClass extends ParentClass { function myFunction($param1, $deprecated = null) { } } class ParentClass { function myFunction($param1, $param2 = null) { } } $obj = new ChildClass;

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.0090.00616.75
8.3.50.0120.00817.36
8.3.40.0030.01318.71
8.3.30.0060.00818.54
8.3.20.0030.00618.52
8.3.10.0050.00318.58
8.3.00.0080.00019.26
8.2.180.0090.00616.50
8.2.170.0080.00822.96
8.2.160.0090.00618.87
8.2.150.0080.00024.18
8.2.140.0000.00824.66
8.2.130.0060.00326.16
8.2.120.0080.00020.88
8.2.110.0030.00622.16
8.2.100.0080.00417.72
8.2.90.0030.00617.75
8.2.80.0000.00818.84
8.2.70.0060.00317.50
8.2.60.0030.00518.05
8.2.50.0000.00818.07
8.2.40.0030.00519.48
8.2.30.0060.00317.49
8.2.20.0070.00317.52
8.2.10.0000.00717.71
8.2.00.0060.00317.54
8.1.280.0150.00425.92
8.1.270.0000.00823.99
8.1.260.0070.01126.35
8.1.250.0050.00328.09
8.1.240.0030.00622.19
8.1.230.0090.00319.48
8.1.220.0040.00417.74
8.1.210.0090.00018.77
8.1.200.0080.00017.23
8.1.190.0030.00517.23
8.1.180.0000.00818.10
8.1.170.0060.00318.73
8.1.160.0000.00719.00
8.1.150.0040.00418.67
8.1.140.0040.00417.36
8.1.130.0040.00419.14
8.1.120.0030.00317.41
8.1.110.0000.00817.46
8.1.100.0040.00417.27
8.1.90.0000.00717.35
8.1.80.0000.00817.29
8.1.70.0070.00017.45
8.1.60.0000.00817.57
8.1.50.0000.00717.45
8.1.40.0030.00617.41
8.1.30.0030.00617.71
8.1.20.0080.00017.54
8.1.10.0030.00517.48
8.1.00.0050.00317.45
8.0.300.0050.00220.09
8.0.290.0000.00816.75
8.0.280.0040.00418.55
8.0.270.0030.00317.30
8.0.260.0030.00316.80
8.0.250.0090.00017.01
8.0.240.0020.00516.81
8.0.230.0000.00716.95
8.0.220.0000.00716.86
8.0.210.0030.00316.74
8.0.200.0000.00616.93
8.0.190.0040.00416.98
8.0.180.0080.00016.92
8.0.170.0050.00316.68
8.0.160.0040.00316.93
8.0.150.0000.00716.71
8.0.140.0070.00016.73
8.0.130.0000.00613.29
8.0.120.0040.00416.73
8.0.110.0070.00016.85
8.0.100.0050.00216.83
8.0.90.0000.00716.91
8.0.80.0060.00916.89
8.0.70.0020.00516.82
8.0.60.0090.00016.77
8.0.50.0000.00816.75
8.0.30.0080.01117.10
8.0.20.0090.00917.12
8.0.10.0000.00716.91
8.0.00.0100.00816.59
7.4.330.0020.00213.00
7.4.320.0040.00416.44
7.4.300.0000.00616.59
7.4.290.0000.00916.54
7.4.280.0050.00216.46
7.4.270.0030.00316.48
7.4.260.0000.00813.26
7.4.250.0000.00716.48
7.4.240.0040.00416.38
7.4.230.0060.00316.59
7.4.220.0100.01016.45
7.4.210.0040.01116.62
7.4.200.0070.00016.59
7.4.190.0040.00416.74
7.4.160.0040.01116.52
7.4.150.0160.01016.25
7.4.140.0070.01116.40
7.4.130.0070.01016.57
7.4.120.0060.01016.47
7.4.110.0060.01116.37
7.4.100.0060.01216.43
7.4.90.0070.01116.39
7.4.80.0030.01319.39
7.4.70.0160.00316.44
7.4.60.0040.01416.49
7.4.50.0050.00016.22
7.4.40.0030.01316.55
7.4.30.0100.00716.50
7.4.00.0100.00714.85
7.3.330.0030.00313.18
7.3.320.0030.00313.20
7.3.310.0000.00716.25
7.3.300.0030.00316.11
7.3.290.0060.00916.20
7.3.280.0080.01016.15
7.3.270.0140.00316.35
7.3.260.0130.00316.29
7.3.250.0050.01216.22
7.3.240.0080.00816.36
7.3.230.0110.00716.39
7.3.210.0040.01416.57
7.3.200.0100.00616.54
7.3.190.0140.00716.18
7.3.180.0130.00316.22
7.3.170.0040.01116.39
7.3.160.0100.00716.30
7.3.120.0030.01414.79
7.3.110.0100.00714.71
7.3.100.0060.00914.84
7.3.90.0130.00614.84
7.3.80.0030.00614.34
7.3.70.0060.00314.47
7.3.60.0120.00414.76
7.3.50.0060.00914.76
7.3.40.0090.00614.83
7.3.30.0090.00614.63
7.3.20.0060.00616.64
7.3.10.0070.00616.64
7.3.00.0070.00516.44
7.2.330.0110.00716.49
7.2.320.0070.01016.44
7.2.310.0080.00916.70
7.2.300.0080.01316.66
7.2.290.0120.00616.64
7.2.250.0040.01514.90
7.2.240.0130.00714.89
7.2.230.0030.01014.93
7.2.220.0030.01515.01
7.2.210.0040.00814.82
7.2.200.0030.00915.13
7.2.190.0090.00914.88
7.2.180.0100.00715.13
7.2.170.0060.00615.07
7.2.160.0090.00914.84
7.2.150.0070.00716.91
7.2.140.0090.00316.64
7.2.130.0040.00916.85
7.2.120.0040.00716.62
7.2.110.0050.01016.85
7.2.100.0100.00716.71
7.2.90.0080.00516.67
7.2.80.0090.00316.77
7.2.70.0020.01216.49
7.2.60.0080.00816.52
7.2.50.0070.00816.66
7.2.40.0090.00816.70
7.2.30.0090.00716.80
7.2.20.0080.00516.81
7.2.10.0030.01316.65
7.2.00.0050.01117.50
7.1.330.0040.01115.70
7.1.320.0030.01215.70
7.1.310.0060.00615.68
7.1.300.0060.00615.71
7.1.290.0040.01115.67
7.1.280.0030.01015.76
7.1.270.0090.00615.63
7.1.260.0090.00315.81
7.1.250.0030.01015.44
7.1.100.0030.00717.91
7.1.70.0080.00017.07
7.1.60.0030.02119.30
7.1.50.0210.00934.55
7.1.00.0000.06722.51
7.0.200.0030.00316.60
7.0.140.0000.07322.11
7.0.120.0000.06322.01
7.0.60.0070.04020.06
7.0.50.0170.06717.88
7.0.40.0130.07720.23
7.0.30.0230.07020.10
7.0.20.0100.05020.30
7.0.10.0000.05020.22
7.0.00.0000.04320.23
5.6.280.0000.07720.98
5.6.210.0100.07720.70
5.6.200.0100.08718.28
5.6.190.0070.06020.54
5.6.180.0430.05320.60
5.6.170.0270.07020.55
5.6.160.0030.04320.48
5.6.150.0100.04718.11
5.6.140.0070.04018.18
5.6.130.0030.08018.15
5.6.120.0070.09020.98
5.6.110.0170.08021.11
5.6.100.0300.06021.11
5.6.90.0130.07020.96
5.6.80.0170.07020.54
5.5.350.0130.07020.38
5.5.340.0070.05317.92
5.5.330.0100.05720.25
5.5.320.1670.07320.34
5.5.310.0100.04720.23
5.5.300.0070.04017.91
5.5.290.0030.06718.03
5.5.280.0100.08720.86
5.5.270.0030.04720.73
5.5.260.0100.08320.89
5.5.250.0100.07720.61
5.5.240.0030.07020.27
5.4.450.0670.04719.55
5.4.440.0400.04719.39
5.4.430.0600.04719.47
5.4.420.0430.04319.32
5.4.410.0530.05319.42
5.4.400.0730.03719.22
5.4.390.0330.03719.07
5.4.380.0330.03318.95
5.4.370.0600.04319.04
5.4.360.0900.03319.22
5.4.350.0400.03719.13
5.4.340.0900.04719.24
5.4.320.0600.04019.21
5.4.310.0300.03719.13
5.4.300.0400.03719.13
5.4.290.0500.04018.96
5.4.280.0570.04019.00
5.4.270.0700.05019.13
5.4.260.0400.04019.22
5.4.250.0130.04718.94
5.4.240.0670.03319.19
5.4.230.0670.03718.93
5.4.220.0400.04019.05
5.4.210.0630.04319.19
5.4.200.0270.05019.21
5.4.190.0800.03718.96
5.4.180.0370.04319.21
5.4.170.0430.05019.03
5.4.160.0570.03019.04
5.4.150.0400.04319.04
5.4.140.0470.04716.41
5.4.130.0600.04016.44
5.4.120.0670.03016.55
5.4.110.0500.04316.59
5.4.100.0530.02716.57
5.4.90.0630.04716.39
5.4.80.0800.03316.38
5.4.70.0370.03316.55
5.4.60.0470.04016.49
5.4.50.0370.03316.49
5.4.40.0570.03716.54
5.4.30.0470.04016.22
5.4.20.0800.03716.50
5.4.10.0800.03016.55
5.4.00.0870.02716.22
5.3.290.0470.04715.77
5.3.280.0470.03716.22
5.3.270.0430.04016.22
5.3.260.0470.04316.22
5.3.250.0830.04016.22
5.3.240.0600.04016.22
5.3.230.1000.03016.22
5.3.220.1100.02716.22
5.3.210.0200.04716.22
5.3.200.0000.03316.22
5.3.190.0530.04316.22
5.3.180.0800.03316.22
5.3.170.0300.03316.22
5.3.160.0600.03716.22
5.3.150.0370.03016.22
5.3.140.0570.04716.22
5.3.130.0400.04016.22
5.3.120.0670.02716.22
5.3.110.0600.03316.22
5.3.100.0470.04016.22
5.3.90.0570.04316.22
5.3.80.0500.03716.22
5.3.70.0770.03716.22
5.3.60.0800.03016.22
5.3.50.0370.03316.22
5.3.40.0600.04016.22
5.3.30.0670.03716.22
5.3.20.0400.03716.22
5.3.10.0730.04716.22
5.3.00.0670.03716.22
5.2.170.0470.03316.22
5.2.160.0600.02316.22
5.2.150.0570.03016.22
5.2.140.0400.03316.22
5.2.130.0630.02316.22
5.2.120.0130.03716.22
5.2.110.0470.02716.22
5.2.100.0370.03016.22
5.2.90.0370.02316.22
5.2.80.0330.03716.22
5.2.70.0630.02316.22
5.2.60.0570.03316.22
5.2.50.0170.03016.22
5.2.40.0370.03316.22
5.2.30.0230.03316.22
5.2.20.0330.03016.22
5.2.10.0370.02716.22
5.2.00.0130.03316.22
5.1.60.0430.02316.22
5.1.50.0370.02716.22
5.1.40.0300.02716.22
5.1.30.0270.02716.22
5.1.20.0330.03016.22
5.1.10.0200.03016.22
5.1.00.0230.03016.22
5.0.50.0100.01316.22
5.0.40.0370.03716.22
5.0.30.0170.02716.22
5.0.20.0230.01716.22
5.0.10.0230.03316.22
5.0.00.0270.04016.22
4.4.90.0170.01716.22
4.4.80.0270.01316.22
4.4.70.0170.02016.22
4.4.60.0070.01716.22
4.4.50.0130.01316.22
4.4.40.0230.02316.22
4.4.30.0230.01716.22
4.4.20.0130.01716.22
4.4.10.0230.01316.22
4.4.00.0130.03016.22
4.3.110.0130.02316.22
4.3.100.0200.02016.22
4.3.90.0100.01716.22
4.3.80.0370.02716.22
4.3.70.0330.01016.22
4.3.60.0030.01716.21
4.3.50.0270.01016.21
4.3.40.0070.02716.21
4.3.30.0170.01716.21
4.3.20.0000.01716.21
4.3.10.0200.01716.21
4.3.00.0130.01716.21

preferences:
39.88 ms | 401 KiB | 5 Q