3v4l.org

run code in 300+ PHP versions simultaneously
<?php class ChildClass extends ParentClass { function myFunction($param1) { } } 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.40.0140.00718.55
8.3.30.0090.00618.65
8.3.20.0080.00018.52
8.3.10.0040.00420.53
8.3.00.0080.00017.50
8.2.170.0070.00722.96
8.2.160.0030.01020.43
8.2.150.0040.00424.18
8.2.140.0000.00724.66
8.2.130.0040.00426.16
8.2.120.0050.00219.83
8.2.110.0030.00621.00
8.2.100.0050.00517.59
8.2.90.0000.00719.05
8.2.80.0080.00017.97
8.2.70.0060.00317.50
8.2.60.0030.00617.79
8.2.50.0040.00418.07
8.2.40.0080.00019.76
8.2.30.0050.00217.99
8.2.20.0060.00317.47
8.2.10.0000.00917.67
8.2.00.0080.00017.59
8.1.270.0060.00324.66
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0030.00622.37
8.1.230.0080.00421.03
8.1.220.0040.00418.77
8.1.210.0040.00418.95
8.1.200.0000.01017.22
8.1.190.0040.00417.39
8.1.180.0000.00918.10
8.1.170.0050.00318.89
8.1.160.0000.00718.74
8.1.150.0000.00718.46
8.1.140.0070.00017.38
8.1.130.0030.00317.66
8.1.120.0040.00417.28
8.1.110.0040.00417.33
8.1.100.0030.00517.34
8.1.90.0080.00017.43
8.1.80.0070.00017.39
8.1.70.0070.00017.38
8.1.60.0000.00717.39
8.1.50.0050.00317.41
8.1.40.0040.00417.45
8.1.30.0040.00417.60
8.1.20.0080.00017.59
8.1.10.0050.00317.26
8.1.00.0000.00817.34
8.0.300.0070.00019.85
8.0.290.0040.00416.75
8.0.280.0070.00018.29
8.0.270.0000.00717.06
8.0.260.0000.00616.73
8.0.250.0000.00816.92
8.0.240.0030.00616.93
8.0.230.0030.00316.82
8.0.220.0070.00016.80
8.0.210.0040.00416.93
8.0.200.0030.00316.92
8.0.190.0000.00716.82
8.0.180.0000.00716.83
8.0.170.0000.00916.87
8.0.160.0040.00416.79
8.0.150.0060.00316.83
8.0.140.0040.00416.82
8.0.130.0030.00313.30
8.0.120.0080.00016.88
8.0.110.0000.00816.93
8.0.100.0040.00416.93
8.0.90.0050.00216.88
8.0.80.0040.01316.83
8.0.70.0000.00716.86
8.0.60.0050.00216.86
8.0.50.0070.00016.90
8.0.30.0120.00616.95
8.0.20.0110.00917.01
8.0.10.0040.00416.87
8.0.00.0100.00716.71
7.4.330.0060.00012.99
7.4.320.0030.00316.48
7.4.300.0000.00616.48
7.4.290.0000.00616.48
7.4.280.0030.00616.64
7.4.270.0030.00316.51
7.4.260.0060.00013.28
7.4.250.0050.00316.43
7.4.240.0040.00416.59
7.4.230.0000.00716.66
7.4.220.0050.01116.59
7.4.210.0060.00916.57
7.4.200.0070.00016.61
7.4.190.0000.00716.55
7.4.160.0080.00816.47
7.4.150.0110.00816.53
7.4.140.0150.00316.48
7.4.130.0090.00816.59
7.4.120.0050.01516.56
7.4.110.0070.02016.42
7.4.100.0110.00516.62
7.4.90.0130.01016.37
7.4.80.0100.00719.39
7.4.70.0060.00916.24
7.4.60.0070.01416.56
7.4.50.0060.00316.41
7.4.40.0070.00416.35
7.4.30.0030.01416.44
7.4.10.0100.01014.65
7.4.00.0060.01214.88
7.3.330.0060.00013.16
7.3.320.0060.00013.16
7.3.310.0000.00716.34
7.3.300.0030.00316.34
7.3.290.0030.01316.27
7.3.280.0080.00616.31
7.3.270.0090.01216.45
7.3.260.0100.01016.35
7.3.250.0060.01116.38
7.3.240.0120.00616.54
7.3.230.0090.01416.30
7.3.210.0100.00616.28
7.3.200.0070.01016.54
7.3.190.0110.00916.22
7.3.180.0130.00316.43
7.3.170.0150.00716.27
7.3.160.0080.00816.25
7.3.130.0070.01115.05
7.3.120.0020.01414.64
7.3.110.0120.00614.68
7.3.100.0060.00614.98
7.3.90.0040.00714.72
7.3.80.0120.00014.88
7.3.70.0030.00714.63
7.3.60.0000.00914.81
7.3.50.0050.00514.65
7.3.40.0060.00614.89
7.3.30.0050.00514.82
7.3.20.0000.01316.63
7.3.10.0030.01016.84
7.3.00.0030.01316.61
7.2.330.0080.00916.32
7.2.320.0000.01716.70
7.2.310.0070.01316.38
7.2.300.0040.01216.46
7.2.290.0090.00616.67
7.2.260.0040.01514.91
7.2.250.0070.01015.14
7.2.240.0030.01015.12
7.2.230.0100.00715.10
7.2.220.0060.00615.03
7.2.210.0080.00414.85
7.2.200.0030.00915.04
7.2.190.0120.00314.94
7.2.180.0000.01015.01
7.2.170.0060.00614.79
7.2.160.0040.00814.82
7.2.150.0090.00616.90
7.2.140.0000.01516.80
7.2.130.0130.00316.76
7.2.120.0110.00316.64
7.2.110.0000.01016.95
7.2.100.0060.00616.58
7.2.90.0060.00916.81
7.2.80.0070.00716.74
7.2.70.0030.01317.02
7.2.60.0050.00916.91
7.2.50.0030.01616.96
7.2.40.0060.00916.64
7.2.30.0000.01216.64
7.2.20.0070.01016.61
7.2.10.0100.00716.77
7.2.00.0030.00818.14
7.1.330.0040.00815.55
7.1.320.0040.01115.35
7.1.310.0060.00315.60
7.1.300.0040.00915.42
7.1.290.0040.01115.72
7.1.280.0040.00815.88
7.1.270.0070.00715.38
7.1.260.0030.01415.75
7.1.250.0050.00515.57
7.1.240.0030.00715.71
7.1.230.0030.00815.77
7.1.220.0050.00315.79
7.1.210.0090.00315.64
7.1.200.0040.00715.60
7.1.190.0050.00915.59
7.1.180.0000.01015.45
7.1.170.0040.00415.77
7.1.160.0030.00515.64
7.1.150.0000.00915.36
7.1.140.0080.00615.75
7.1.130.0080.00815.70
7.1.120.0070.00315.64
7.1.110.0060.00915.63
7.1.100.0100.00316.94
7.1.90.0050.00515.64
7.1.80.0040.00415.63
7.1.70.0020.00916.26
7.1.60.0080.00817.36
7.1.50.0050.01216.22
7.1.40.0070.00315.51
7.1.30.0000.00815.43
7.1.20.0030.01315.54
7.1.10.0040.01115.79
7.1.00.0070.03818.98
7.0.330.0040.00815.37
7.0.320.0090.00615.30
7.0.310.0040.00415.45
7.0.300.0040.00715.41
7.0.290.0060.00315.26
7.0.280.0050.00315.42
7.0.270.0000.00915.34
7.0.260.0090.00615.10
7.0.250.0030.00915.41
7.0.240.0050.00515.46
7.0.230.0070.00715.32
7.0.220.0070.00715.26
7.0.210.0000.01515.51
7.0.200.0050.00715.79
7.0.190.0040.00415.41
7.0.180.0110.00015.34
7.0.170.0060.00615.27
7.0.160.0030.01215.27
7.0.150.0000.01914.99
7.0.140.0010.04118.56
7.0.130.0060.00915.21
7.0.120.0020.04218.71
7.0.110.0040.00915.23
7.0.100.0030.00915.41
7.0.90.0100.00015.35
7.0.80.0030.00915.13
7.0.70.0050.00515.39
7.0.60.0050.04018.60
7.0.50.0030.02316.55
7.0.40.0080.02516.76
7.0.30.0310.03016.71
7.0.20.0140.04116.67
7.0.10.0050.04216.80
7.0.00.0110.03516.81
5.6.400.0090.00914.58
5.6.390.0070.00714.51
5.6.380.0100.00314.31
5.6.370.0040.00714.39
5.6.360.0030.01414.11
5.6.350.0030.00914.39
5.6.340.0070.00314.18
5.6.330.0060.00914.67
5.6.320.0070.00714.55
5.6.310.0000.01014.23
5.6.300.0100.01014.15
5.6.290.0070.00314.32
5.6.280.0100.03617.70
5.6.270.0110.00614.25
5.6.260.0040.01114.37
5.6.250.0060.01214.33
5.6.240.0040.00414.35
5.6.230.0090.00614.36
5.6.220.0060.00314.53
5.6.210.0070.04517.37
5.6.200.0080.03216.26
5.6.190.0100.03017.29
5.6.180.0110.02417.54
5.6.170.0180.04317.60
5.6.160.0050.04317.29
5.6.150.0090.03616.21
5.6.140.0120.03716.16
5.6.130.0070.02316.34
5.6.120.0060.02517.54
5.6.110.0080.04717.70
5.6.100.0100.02717.69
5.6.90.0080.03917.46
5.6.80.0050.03717.35
5.6.70.0040.00414.16
5.6.60.0090.00014.17
5.6.50.0040.01114.05
5.6.40.0120.00014.18
5.6.30.0090.00314.46
5.6.20.0030.01014.02
5.6.10.0130.00014.09
5.6.00.0040.01114.09
5.5.380.0040.00814.26
5.5.370.0120.00314.42
5.5.360.0060.00614.39
5.5.350.0050.02317.42
5.5.340.0050.04016.17
5.5.330.0020.02917.36
5.5.320.0230.03817.22
5.5.310.0120.02417.27
5.5.300.0070.01816.02
5.5.290.0110.02616.17
5.5.280.0090.03917.43
5.5.270.0100.03217.35
5.5.260.0090.04517.38
5.5.250.0100.04517.30
5.5.240.0140.04017.24
5.5.230.0090.00314.10
5.5.220.0070.00713.77
5.5.210.0090.00614.38
5.5.200.0040.00814.24
5.5.190.0040.00714.18
5.5.180.0030.00914.22
5.5.170.0090.00614.03
5.5.160.0000.01213.91
5.5.150.0000.00913.90
5.5.140.0070.01113.79
5.5.130.0160.00014.27
5.5.120.0030.00914.16
5.5.110.0040.00714.24
5.5.100.0000.00914.05
5.5.90.0110.00414.07
5.5.80.0070.00314.33
5.5.70.0060.00314.12
5.5.60.0110.00413.94
5.5.50.0070.01014.05
5.5.40.0070.00713.92
5.5.30.0030.00514.21
5.5.20.0090.00613.91
5.5.10.0030.00713.59
5.5.00.0060.00314.13
5.4.450.0030.04215.20
5.4.440.0070.03015.17
5.4.430.0060.02415.23
5.4.420.0050.02215.22
5.4.410.0100.03015.19
5.4.400.0080.03615.04
5.4.390.0090.01915.08
5.4.380.0050.02715.01
5.4.370.0100.03715.04
5.4.360.0050.03014.95
5.4.350.0050.02914.98
5.4.340.0110.03315.07
5.4.330.0030.00711.06
5.4.320.0020.02814.97
5.4.310.0060.03814.89
5.4.300.0050.02815.09
5.4.290.0130.01615.04
5.4.280.0030.02214.89
5.4.270.0050.02214.99
5.4.260.0050.03715.09
5.4.250.0080.02815.04
5.4.240.0060.02315.05
5.4.230.0060.02315.07
5.4.220.0050.03514.97
5.4.210.0100.03914.97
5.4.200.0030.04214.90
5.4.190.0060.02615.10
5.4.180.0080.03815.04
5.4.170.0070.02215.04
5.4.160.0080.04015.12
5.4.150.0070.02514.92
5.4.140.0020.03013.69
5.4.130.0030.04013.63
5.4.120.0020.03413.72
5.4.110.0070.02913.70
5.4.100.0060.01813.64
5.4.90.0030.04213.64
5.4.80.0020.03513.64
5.4.70.0060.03813.70
5.4.60.0100.03613.65
5.4.50.0020.04013.67
5.4.40.0030.03013.63
5.4.30.0070.03313.61
5.4.20.0080.02813.73
5.4.10.0080.01813.60
5.4.00.0060.02313.39
5.3.290.0030.04012.76
5.3.280.0020.02812.78
5.3.270.0060.02612.79
5.3.260.0050.04112.81
5.3.250.0030.04312.84
5.3.240.0020.02612.77
5.3.230.0030.04212.73
5.3.220.0040.02712.77
5.3.210.0050.04212.76
5.3.200.0020.02912.83
5.3.190.0030.02612.75
5.3.180.0050.03912.80
5.3.170.0050.02312.83
5.3.160.0000.04712.79
5.3.150.0110.03212.77
5.3.140.0050.03012.76
5.3.130.0090.02512.77
5.3.120.0060.03812.77
5.3.110.0080.03812.77
5.3.100.0050.03712.48
5.3.90.0070.04112.43
5.3.80.0040.02312.43
5.3.70.0020.03512.45
5.3.60.0090.03512.48
5.3.50.0080.03812.44
5.3.40.0030.02512.42
5.3.30.0070.02212.42
5.3.20.0050.02512.39
5.3.10.0060.03812.38
5.3.00.0100.03312.37
5.2.170.0030.03011.12
5.2.160.0070.04711.15
5.2.150.0070.03711.13
5.2.140.0030.06311.09
5.2.130.0030.05011.07
5.2.120.0130.04711.15
5.2.110.0100.03311.14
5.2.100.0100.05311.15
5.2.90.0130.05011.16
5.2.80.0070.03311.14
5.2.70.0100.02311.11
5.2.60.0130.03311.11
5.2.50.0000.03310.94
5.2.40.0030.02711.07
5.2.30.0000.03310.95
5.2.20.0000.03011.11
5.2.10.0000.03010.87
5.2.00.0000.03010.72
5.1.60.0000.03010.02
5.1.50.0030.0239.91
5.1.40.0030.0209.89
5.1.30.0030.02310.40
5.1.20.0030.02310.37
5.1.10.0070.02010.23
5.1.00.0000.02710.09
5.0.50.0070.0308.70
5.0.40.0000.0208.43
5.0.30.0030.0308.29
5.0.20.0000.0208.35
5.0.10.0000.0278.24
5.0.00.0000.0338.32
4.4.90.0030.0137.52
4.4.80.0070.0137.52
4.4.70.0000.0177.30
4.4.60.0070.0107.30
4.4.50.0030.0137.30
4.4.40.0000.0237.30
4.4.30.0030.0137.30
4.4.20.0030.0137.30
4.4.10.0070.0107.30
4.4.00.0030.0277.30
4.3.110.0100.0277.30
4.3.100.0030.0337.30
4.3.90.0000.0177.30
4.3.80.0000.0237.30
4.3.70.0030.0137.30
4.3.60.0000.0137.30
4.3.50.0030.0137.30
4.3.40.0000.0237.30
4.3.30.0000.0177.30
4.3.20.0000.0137.30
4.3.10.0000.0177.30
4.3.00.0000.0137.30

preferences:
43.96 ms | 400 KiB | 5 Q