3v4l.org

run code in 300+ PHP versions simultaneously
<?php class UserNew { public function bob () { echo 'ja sam new user iz parenta UserNew class'; } } class MeAgen extends UserNew { public function newMeAgen () { parent::bob(); } } $user1 = new MeAgen(); $user1->newMeAgen();

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.0070.01318.18
8.3.50.0130.00722.00
8.3.40.0030.01218.84
8.3.30.0100.01018.79
8.3.20.0000.00820.29
8.3.10.0040.00421.90
8.3.00.0050.00318.95
8.2.180.0070.01118.05
8.2.170.0070.01418.91
8.2.160.0120.00822.96
8.2.150.0080.00024.18
8.2.140.0050.00224.66
8.2.130.0050.00226.16
8.2.120.0040.00419.95
8.2.110.0060.00322.20
8.2.100.0090.00318.22
8.2.90.0040.00419.26
8.2.80.0030.00517.97
8.2.70.0090.00017.63
8.2.60.0000.00917.80
8.2.50.0080.00018.07
8.2.40.0000.00718.22
8.2.30.0000.00717.87
8.2.20.0040.00417.62
8.2.10.0040.00417.91
8.2.00.0040.00417.66
8.1.280.0030.01225.92
8.1.270.0040.00418.88
8.1.260.0080.00026.35
8.1.250.0070.00028.09
8.1.240.0100.00022.08
8.1.230.0040.00819.09
8.1.220.0060.00317.74
8.1.210.0040.00418.77
8.1.200.0090.00317.22
8.1.190.0040.00417.23
8.1.180.0040.00418.10
8.1.170.0050.00318.43
8.1.160.0050.00221.95
8.1.150.0000.00718.75
8.1.140.0050.00217.42
8.1.130.0070.00017.82
8.1.120.0050.00217.30
8.1.110.0040.00417.27
8.1.100.0000.00817.27
8.1.90.0000.00717.29
8.1.80.0000.00817.29
8.1.70.0040.00417.40
8.1.60.0060.00317.61
8.1.50.0040.00417.48
8.1.40.0000.00717.52
8.1.30.0030.00617.58
8.1.20.0060.00317.55
8.1.10.0030.00517.53
8.1.00.0000.00717.55
8.0.300.0040.00418.77
8.0.290.0040.00416.63
8.0.280.0030.00318.41
8.0.270.0000.00717.25
8.0.260.0060.00017.26
8.0.250.0000.00716.91
8.0.240.0030.00316.86
8.0.230.0040.00416.91
8.0.220.0030.00316.74
8.0.210.0030.00316.82
8.0.200.0030.00316.75
8.0.190.0000.00716.90
8.0.180.0070.00016.78
8.0.170.0040.00416.79
8.0.160.0000.00716.75
8.0.150.0070.00016.81
8.0.140.0040.00716.79
8.0.130.0030.00313.27
8.0.120.0040.00416.69
8.0.110.0000.00816.66
8.0.100.0050.00316.71
8.0.90.0040.00416.73
8.0.80.0040.01116.79
8.0.70.0030.00616.89
8.0.60.0030.00516.72
8.0.50.0040.00416.65
8.0.30.0090.00916.89
8.0.20.0100.01017.40
8.0.10.0030.00316.76
8.0.00.0070.01216.65
7.4.330.0000.00515.03
7.4.320.0030.00316.36
7.4.300.0060.00016.40
7.4.290.0000.00716.59
7.4.280.0000.00716.55
7.4.270.0040.00416.39
7.4.260.0030.00316.60
7.4.250.0030.00516.59
7.4.240.0040.00416.50
7.4.230.0030.00316.65
7.4.220.0130.01516.46
7.4.210.0090.01116.63
7.4.200.0050.00216.63
7.4.160.0080.01516.50
7.4.150.0060.01117.40
7.4.140.0110.00917.86
7.4.130.0130.00516.48
7.4.120.0060.01016.46
7.4.110.0110.01116.61
7.4.100.0140.00316.62
7.4.90.0060.01216.29
7.4.80.0030.01419.39
7.4.70.0130.00316.43
7.4.60.0090.00616.44
7.4.50.0030.00516.25
7.4.40.0100.00716.24
7.4.30.0100.01316.41
7.4.00.0030.01414.74
7.3.330.0000.00512.98
7.3.320.0030.00313.11
7.3.310.0040.00416.26
7.3.300.0000.00716.22
7.3.290.0040.01016.25
7.3.280.0100.00716.28
7.3.270.0030.02017.40
7.3.260.0210.00416.27
7.3.250.0090.00916.30
7.3.240.0110.00516.33
7.3.230.0070.01116.39
7.3.210.0070.01016.24
7.3.200.0030.01319.39
7.3.190.0070.01116.40
7.3.180.0160.00316.30
7.3.170.0060.01616.43
7.3.160.0110.00616.51
7.3.120.0060.01014.69
7.3.110.0040.01214.91
7.3.100.0090.00514.48
7.3.90.0090.00414.55
7.3.80.0090.00714.80
7.3.70.0040.00814.63
7.3.60.0050.00714.76
7.3.50.0050.00714.83
7.3.40.0060.00914.61
7.3.30.0050.00714.46
7.3.20.0070.00516.64
7.3.10.0050.00716.47
7.3.00.0080.00316.62
7.2.330.0130.00316.63
7.2.320.0130.00616.77
7.2.310.0070.01016.59
7.2.300.0100.00716.65
7.2.290.0090.00916.41
7.2.250.0060.01114.84
7.2.240.0090.01114.81
7.2.230.0060.01014.96
7.2.220.0070.00514.78
7.2.210.0050.00914.86
7.2.200.0050.00614.82
7.2.190.0050.00914.98
7.2.180.0080.00514.96
7.2.170.0080.00814.71
7.2.60.0150.00016.82
7.2.50.0060.00616.93
7.1.330.0100.00515.53
7.1.320.0070.00815.68
7.1.310.0040.01115.58
7.1.300.0040.00815.64
7.1.290.0020.00915.54
7.1.280.0080.00615.64
7.1.270.0060.00615.63
7.1.260.0040.01015.46
7.1.200.0170.01315.28
7.1.70.0070.00317.05
7.1.60.0160.00619.46
7.1.50.0030.01416.84
7.1.00.0000.08022.45
7.0.200.0000.00816.73
7.0.140.0030.04721.95
7.0.60.0100.03719.99
7.0.50.0170.07717.86
7.0.40.0070.06720.02
7.0.30.0270.06020.23
7.0.20.0270.04320.22
7.0.10.0070.08720.19
7.0.00.0030.05720.33
5.6.280.0030.07721.11
5.6.210.0170.07020.50
5.6.200.0030.04318.22
5.6.190.0130.08320.64
5.6.180.0230.07320.59
5.6.170.0270.05320.50
5.6.160.0170.07020.44
5.6.150.0170.07318.23
5.6.140.0070.06718.18
5.6.130.0170.08018.16
5.6.120.0100.07020.96
5.6.110.0130.06720.96
5.6.100.0100.08321.02
5.6.90.0030.04321.07
5.6.80.0200.06720.29
5.5.350.0030.08320.39
5.5.340.0130.07717.91
5.5.330.0100.07720.40
5.5.320.0030.08320.24
5.5.310.0200.04320.27
5.5.300.0070.04317.96
5.5.290.0130.04017.95
5.5.280.0100.06320.65
5.5.270.0000.04320.83
5.5.260.0100.08720.76
5.5.250.0170.05320.69
5.5.240.4200.04020.19
5.4.450.0600.06319.61
5.4.440.0470.06019.58
5.4.430.0070.05719.42
5.4.420.0100.07019.21
5.4.410.0100.05719.21
5.4.400.0070.05719.39
5.4.390.0200.05018.57
5.4.380.0170.06318.61
5.4.370.0130.07718.53
5.4.360.0130.05718.68
5.4.350.0070.06318.68
5.4.340.0170.05318.68
5.4.320.0200.05318.58
5.4.310.0200.05318.75
5.4.300.0200.05318.46
5.4.290.0230.04718.64
5.4.280.0130.06018.70
5.4.270.0270.05718.45
5.4.260.0330.05318.53
5.4.250.0130.06318.75
5.4.240.0100.08018.77
5.4.230.0200.04718.54
5.4.220.0130.06018.54
5.4.210.0130.05718.75
5.4.200.0130.05316.63
5.4.190.0100.05718.84
5.4.180.0170.07318.67
5.4.170.0100.06318.49
5.4.160.0170.05718.68
5.4.150.0200.05018.68
5.4.140.0230.04716.38
5.4.130.0170.05016.45
5.4.120.0200.06316.29
5.4.110.0130.06316.36
5.4.100.0130.05016.38
5.4.90.0200.05016.30
5.4.80.0200.04316.27
5.4.70.0300.04316.43
5.4.60.0230.05316.28
5.4.50.0230.04016.40
5.4.40.0130.05716.23
5.4.30.0100.06716.30
5.4.20.0230.04716.28
5.4.10.0230.04316.40
5.4.00.0230.05715.71
5.3.290.0230.05014.77
5.3.280.0270.06014.63
5.3.270.0170.07314.60
5.3.260.0230.07014.61
5.3.250.0270.06314.71
5.3.240.0100.06714.66
5.3.230.0170.05314.61
5.3.220.0100.05714.70
5.3.210.0070.06014.59
5.3.200.0230.04714.79
5.3.190.0200.04714.60
5.3.180.0300.04314.55
5.3.170.0270.04314.77
5.3.160.0100.06014.62
5.3.150.0170.05014.61
5.3.140.0200.05314.72
5.3.130.0070.08314.75
5.3.120.0200.07014.68
5.3.110.0070.08314.65
5.3.100.0200.06714.17
5.3.90.0170.05014.19
5.3.80.0200.05014.04
5.3.70.0170.05714.07
5.3.60.0230.06014.04
5.3.50.0170.05014.17
5.3.40.0130.05313.94
5.3.30.0070.06013.93
5.3.20.0170.04713.68
5.3.10.0270.05713.75
5.3.00.0130.06013.79
5.2.170.0170.06311.14
5.2.160.0200.05311.13
5.2.150.0130.04011.20
5.2.140.0170.05311.27
5.2.130.0130.04711.09
5.2.120.0200.03311.18
5.2.110.0130.05311.20
5.2.100.0070.05011.31
5.2.90.0130.04311.21
5.2.80.0200.04011.09
5.2.70.0130.06011.32
5.2.60.0070.06311.26
5.2.50.0100.04311.12
5.2.40.0100.04711.04
5.2.30.0070.05010.96
5.2.20.0070.04711.00
5.2.10.0170.03310.93
5.2.00.0100.06010.75
5.1.60.0170.04310.04
5.1.50.0130.04710.20
5.1.40.0070.05010.00
5.1.30.0170.04310.41
5.1.20.0100.05010.37
5.1.10.0030.04010.07
5.1.00.0000.04710.20
5.0.50.0030.0338.54
5.0.40.0130.0208.46
5.0.30.0130.0438.40
5.0.20.0170.0208.40
5.0.10.0100.0238.30
5.0.00.0100.0408.35
4.4.90.0070.0235.98
4.4.80.0030.0275.90
4.4.70.0030.0235.88
4.4.60.0030.0235.97
4.4.50.0030.0235.91
4.4.40.0030.0375.89
4.4.30.0130.0135.87
4.4.20.0130.0135.99
4.4.10.0000.0275.94
4.4.00.0100.0335.92
4.3.110.0030.0235.86
4.3.100.0070.0205.86
4.3.90.0030.0235.77
4.3.80.0000.0405.77
4.3.70.0030.0235.79
4.3.60.0070.0205.78
4.3.50.0070.0235.89
4.3.40.0070.0335.76
4.3.30.0000.0274.64
4.3.20.0070.0204.55
4.3.10.0000.0334.54
4.3.00.0130.02311.68

preferences:
52.05 ms | 401 KiB | 5 Q