3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Utils { public static function demonstratie() { echo "demonstratie"; } } class parinte { public function par() { echo 'parinte'; } } class fiu extends parinte { public function demon() { echo 'demon'; } } $fiu =new fiu();

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.0100.00716.50
8.3.60.0140.00718.33
8.3.50.0080.01222.11
8.3.40.0100.00718.59
8.3.30.0110.00418.92
8.3.20.0030.01520.34
8.3.10.0040.00421.73
8.3.00.0070.00019.08
8.2.180.0150.00316.75
8.2.170.0140.00022.96
8.2.160.0130.00022.20
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0050.00319.54
8.2.110.0040.00422.25
8.2.100.0070.00317.84
8.2.90.0040.00419.22
8.2.80.0080.00017.97
8.2.70.0050.00317.63
8.2.60.0000.00917.80
8.2.50.0080.00018.07
8.2.40.0060.00618.00
8.2.30.0070.00018.00
8.2.20.0000.00717.61
8.2.10.0040.00417.92
8.2.00.0070.00017.61
8.1.280.0170.00325.92
8.1.270.0030.00618.93
8.1.260.0090.00626.35
8.1.250.0050.00328.09
8.1.240.0030.00623.73
8.1.230.0110.00018.85
8.1.220.0060.00317.74
8.1.210.0000.00818.77
8.1.200.0030.00617.35
8.1.190.0050.00217.23
8.1.180.0000.00918.10
8.1.170.0030.00518.30
8.1.160.0070.00022.00
8.1.150.0040.00718.89
8.1.140.0040.00417.42
8.1.130.0070.00017.87
8.1.120.0030.00517.36
8.1.110.0020.00517.44
8.1.100.0040.00417.44
8.1.90.0000.00717.36
8.1.80.0040.00417.38
8.1.70.0000.00817.47
8.1.60.0080.00017.55
8.1.50.0030.00517.34
8.1.40.0040.00417.43
8.1.30.0040.00417.42
8.1.20.0090.00017.52
8.1.10.0030.00517.50
8.1.00.0040.00417.36
8.0.300.0070.00018.77
8.0.290.0000.00716.58
8.0.280.0050.00218.36
8.0.270.0070.00017.19
8.0.260.0030.00317.25
8.0.250.0000.00716.80
8.0.240.0000.01016.78
8.0.230.0030.00316.80
8.0.220.0030.00516.84
8.0.210.0070.00016.84
8.0.200.0000.00716.90
8.0.190.0040.00416.78
8.0.180.0050.00316.86
8.0.170.0000.00716.74
8.0.160.0040.00416.84
8.0.150.0040.00416.68
8.0.140.0030.00316.70
8.0.130.0030.00313.21
8.0.120.0060.00316.76
8.0.110.0070.00016.70
8.0.100.0030.00316.82
8.0.90.0000.00716.73
8.0.80.0060.01016.80
8.0.70.0040.00416.78
8.0.60.0000.00716.71
8.0.50.0080.00016.89
8.0.30.0110.01216.95
8.0.20.0100.00917.40
8.0.10.0040.00416.75
8.0.00.0080.00816.67
7.4.330.0030.00315.03
7.4.320.0000.00616.36
7.4.300.0060.00016.39
7.4.290.0040.00416.55
7.4.280.0080.00016.43
7.4.270.0000.00716.40
7.4.260.0000.00716.46
7.4.250.0000.00716.42
7.4.240.0020.00516.54
7.4.230.0000.00716.43
7.4.220.0120.00616.55
7.4.210.0040.01216.54
7.4.200.0030.00316.63
7.4.160.0100.00716.38
7.4.150.0070.01017.40
7.4.140.0080.00817.86
7.4.130.0070.00916.37
7.4.120.0120.00716.22
7.4.110.0120.00916.50
7.4.100.0090.00916.55
7.4.90.0140.00416.41
7.4.80.0100.01019.39
7.4.70.0130.01016.57
7.4.60.0120.00416.52
7.4.50.0000.00416.35
7.4.40.0120.00316.68
7.4.30.0060.01216.35
7.4.00.0070.00714.78
7.3.330.0050.00013.13
7.3.320.0000.00513.04
7.3.310.0030.00316.07
7.3.300.0000.00716.04
7.3.290.0070.01016.15
7.3.280.0070.01116.19
7.3.270.0070.01117.40
7.3.260.0030.01316.21
7.3.250.0120.00516.26
7.3.240.0040.01416.19
7.3.230.0070.01016.39
7.3.210.0100.01016.06
7.3.200.0140.00619.39
7.3.190.0030.01216.23
7.3.180.0110.00416.15
7.3.170.0070.01016.27
7.3.160.0090.00616.24
7.2.330.0070.01016.38
7.2.320.0060.01116.57
7.2.310.0130.00916.30
7.2.300.0130.01016.29
7.2.290.0100.00716.32
7.2.00.0030.00919.38
7.1.100.0070.00317.56
7.1.70.0030.00316.68
7.1.60.0100.01319.46
7.1.50.0090.01216.77
7.1.00.0000.08022.28
7.0.200.0000.00716.70
7.0.140.0030.05322.18
7.0.60.0100.08019.98
7.0.50.0300.02717.90
7.0.40.0070.07020.25
7.0.30.0230.06320.23
7.0.20.0100.04720.09
7.0.10.0130.08020.09
7.0.00.0100.06320.07
5.6.280.0070.07020.82
5.6.210.0070.07720.61
5.6.200.0030.04018.15
5.6.190.0070.06320.64
5.6.180.0270.03320.46
5.6.170.0230.05320.52
5.6.160.0170.06720.61
5.6.150.0030.04318.16
5.6.140.0130.06718.17
5.6.130.0030.04018.18
5.6.120.0100.04320.99
5.6.110.0030.06321.02
5.6.100.0170.07320.96
5.6.90.0130.03720.97
5.6.80.0100.06720.37
5.5.350.0000.04320.31
5.5.340.0000.04318.07
5.5.330.0030.04320.21
5.5.320.0330.08020.28
5.5.310.0270.07320.30
5.5.300.0100.07317.92
5.5.290.0130.07318.08
5.5.280.0100.07720.98
5.5.270.0070.08020.76
5.5.260.0070.08320.82
5.5.250.0030.04720.59
5.5.240.3970.04720.33
5.4.450.0270.07719.46
5.4.440.0330.05019.32
5.4.430.0370.06319.40
5.4.420.0300.07319.41
5.4.410.0330.07019.29
5.4.400.0270.03719.32
5.4.390.0270.04719.08
5.4.380.0170.04718.86
5.4.370.0330.04719.22
5.4.360.0300.07019.22
5.4.350.0370.04319.22
5.4.340.0330.04018.88
5.4.320.0300.07718.98
5.4.310.0300.07019.15
5.4.300.0300.07718.94
5.4.290.0270.07019.23
5.4.280.0300.05719.17
5.4.270.0200.05718.89
5.4.260.0330.04019.22
5.4.250.0370.07018.99
5.4.240.0370.06718.97
5.4.230.0300.04019.09
5.4.220.0330.03319.08
5.4.210.0270.07719.13
5.4.200.0330.06319.30
5.4.190.0270.07019.14
5.4.180.0230.04718.86
5.4.170.0270.03719.08
5.4.160.0230.08019.16
5.4.150.0400.06318.92
5.4.140.0270.04316.47
5.4.130.0300.03716.56
5.4.120.0300.06716.54
5.4.110.0330.06716.61
5.4.100.0500.05016.42
5.4.90.0330.05316.32
5.4.80.0330.04016.57
5.4.70.0370.06016.49
5.4.60.0300.07016.48
5.4.50.0230.03716.43
5.4.40.0270.04316.53
5.4.30.0330.03716.48
5.4.20.0330.06716.42
5.4.10.0230.05016.38
5.4.00.0300.06315.96
5.3.290.0230.04314.66
5.3.280.0270.07314.52
5.3.270.0170.05014.58
5.3.260.0330.07314.76
5.3.250.0330.06014.61
5.3.240.0300.06014.50
5.3.230.0270.04314.68
5.3.220.0300.06314.66
5.3.210.0300.05014.65
5.3.200.0330.06014.54
5.3.190.0300.06714.61
5.3.180.0300.07014.74
5.3.170.0300.06714.54
5.3.160.0270.07314.65
5.3.150.0230.04314.57
5.3.140.0230.04714.55
5.3.130.0330.04014.47
5.3.120.0300.07014.55
5.3.110.0370.06314.54
5.3.100.0300.07014.02
5.3.90.0300.06714.00
5.3.80.0270.04314.03
5.3.70.0430.05313.95
5.3.60.0300.04714.01
5.3.50.0300.03313.95
5.3.40.0400.06014.03
5.3.30.0400.05714.03
5.3.20.0330.06713.60
5.3.10.0370.06013.56
5.3.00.0370.06313.76
5.2.170.0270.05311.06
5.2.160.0230.03011.06
5.2.150.0270.05311.08
5.2.140.0370.04011.21
5.2.130.0270.03711.04
5.2.120.0300.05311.02
5.2.110.0270.06011.26
5.2.100.0270.03311.15
5.2.90.0330.04711.21
5.2.80.0300.04011.15
5.2.70.0270.05711.22
5.2.60.0270.05711.02
5.2.50.0300.02710.96
5.2.40.0200.05010.91
5.2.30.0230.05711.05
5.2.20.0200.05711.18
5.2.10.0230.04011.02
5.2.00.0200.05710.88
5.1.60.0270.05010.75
5.1.50.0270.04310.75
5.1.40.0130.03710.75
5.1.30.0130.03310.75
5.1.20.0170.02310.75
5.1.10.0200.03310.75
5.1.00.0170.05310.75
5.0.50.0100.02010.75
5.0.40.0030.02310.75
5.0.30.0070.04310.75
5.0.20.0130.03010.75
5.0.10.0130.04010.75
5.0.00.0100.06710.75
4.4.90.0100.03310.75
4.4.80.0100.03310.75
4.4.70.0070.02310.75
4.4.60.0100.02010.75
4.4.50.0130.03310.75
4.4.40.0170.03310.75
4.4.30.0130.02010.75
4.4.20.0070.01710.75
4.4.10.0100.02710.75
4.4.00.0170.03310.75
4.3.110.0100.01710.75
4.3.100.0030.03710.75
4.3.90.0130.03010.75
4.3.80.0200.03310.75
4.3.70.0100.02010.75
4.3.60.0100.02010.75
4.3.50.0270.02310.75
4.3.40.0130.04010.75
4.3.30.0030.02710.75
4.3.20.0070.03710.75
4.3.10.0070.02310.75
4.3.00.0030.03010.75

preferences:
70.03 ms | 401 KiB | 5 Q