3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A {public static function f() {return get_called_class();}} class B extends A {} print_r(B::f());

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.0060.01016.75
8.3.50.0100.01018.04
8.3.40.0090.00618.72
8.3.30.0120.00318.45
8.3.20.0030.00618.95
8.3.10.0040.00421.70
8.3.00.0000.00719.02
8.2.180.0110.00416.32
8.2.170.0100.01022.96
8.2.160.0100.01020.38
8.2.150.0000.00725.66
8.2.140.0040.00424.66
8.2.130.0080.00019.71
8.2.120.0040.00426.35
8.2.110.0070.00321.04
8.2.100.0060.00617.66
8.2.90.0000.00818.22
8.2.80.0080.00017.97
8.2.70.0040.00417.91
8.2.60.0000.00718.03
8.2.50.0000.00818.10
8.2.40.0040.00420.50
8.2.30.0040.00419.18
8.2.20.0050.00217.93
8.2.10.0050.00317.97
8.2.00.0000.00817.42
8.1.280.0110.01125.92
8.1.270.0080.00022.02
8.1.260.0040.00428.09
8.1.250.0050.00328.09
8.1.240.0060.00620.44
8.1.230.0030.00920.84
8.1.220.0080.00017.74
8.1.210.0040.00418.97
8.1.200.0030.00617.10
8.1.190.0030.00617.23
8.1.180.0060.00318.10
8.1.170.0000.00818.23
8.1.160.0000.00718.94
8.1.150.0030.00520.25
8.1.140.0000.00817.37
8.1.130.0040.00417.58
8.1.120.0000.00817.30
8.1.110.0000.00817.38
8.1.100.0040.00417.19
8.1.90.0040.00417.31
8.1.80.0030.00417.33
8.1.70.0050.00317.23
8.1.60.0000.00917.51
8.1.50.0000.00817.47
8.1.40.0040.00417.41
8.1.30.0000.00817.45
8.1.20.0080.00017.58
8.1.10.0040.00417.53
8.1.00.0000.01017.39
8.0.300.0040.00419.89
8.0.290.0030.00616.63
8.0.280.0040.00418.38
8.0.270.0000.00716.82
8.0.260.0000.00717.15
8.0.250.0030.00316.77
8.0.240.0040.00416.76
8.0.230.0070.00016.81
8.0.220.0050.00316.80
8.0.210.0000.00716.77
8.0.200.0030.00316.78
8.0.190.0000.00716.77
8.0.180.0000.00716.86
8.0.170.0080.00016.87
8.0.160.0000.00816.71
8.0.150.0070.00016.61
8.0.140.0050.00216.68
8.0.130.0030.00313.22
8.0.120.0030.00616.68
8.0.110.0060.00316.59
8.0.100.0040.00416.64
8.0.90.0020.00516.75
8.0.80.0110.00516.72
8.0.70.0040.00416.80
8.0.60.0070.00016.78
8.0.50.0000.00816.77
8.0.30.0110.00916.83
8.0.20.0110.00717.40
8.0.10.0040.00316.81
8.0.00.0100.00716.79
7.4.330.0000.00515.55
7.4.320.0050.00216.27
7.4.300.0030.00316.53
7.4.290.0080.00016.44
7.4.280.0030.00516.50
7.4.270.0070.00016.45
7.4.260.0000.00513.20
7.4.250.0000.00716.45
7.4.240.0070.00016.41
7.4.230.0040.00416.53
7.4.220.0090.00916.45
7.4.210.0080.00916.48
7.4.200.0070.00016.38
7.4.160.0140.00616.41
7.4.150.0090.00617.40
7.4.140.0080.00917.86
7.4.130.0080.01216.46
7.4.120.0020.01616.38
7.4.110.0110.00716.58
7.4.100.0030.01616.36
7.4.90.0000.01616.43
7.4.80.0130.00316.31
7.4.70.0080.00816.35
7.4.60.0090.00616.15
7.4.50.0100.00216.21
7.4.40.0140.01016.33
7.4.30.0040.01616.36
7.4.00.0030.01014.93
7.3.330.0060.00013.31
7.3.320.0030.00313.24
7.3.310.0000.00716.27
7.3.300.0000.00616.11
7.3.290.0040.00416.10
7.3.280.0080.01116.21
7.3.270.0070.01117.40
7.3.260.0070.01116.44
7.3.250.0120.00616.42
7.3.240.0080.01216.29
7.3.230.0070.01116.39
7.3.210.0070.01016.24
7.3.200.0070.01619.39
7.3.190.0090.00916.27
7.3.180.0060.00916.19
7.3.170.0100.01116.16
7.3.160.0100.00716.45
7.3.00.0180.00016.42
7.2.330.0020.01616.57
7.2.320.0130.00316.25
7.2.310.0090.00916.52
7.2.300.0060.01216.42
7.2.290.0100.00716.65
7.2.130.0070.01416.68
7.2.120.0070.01116.81
7.2.110.0110.00316.52
7.2.100.0110.00416.45
7.2.90.0070.00716.79
7.2.80.0100.01016.33
7.2.70.0000.01316.55
7.2.60.0050.00916.83
7.2.50.0070.00716.64
7.2.40.0080.00816.58
7.2.30.0080.00416.67
7.2.20.0090.00616.52
7.2.10.0090.00616.88
7.2.00.0050.01018.04
7.1.250.0100.00715.20
7.1.240.0070.01115.49
7.1.230.0170.00015.59
7.1.220.0000.01215.50
7.1.210.0070.01015.62
7.1.200.0020.01315.52
7.1.190.0120.00615.62
7.1.180.0090.00615.61
7.1.170.0040.01115.66
7.1.160.0080.00815.43
7.1.150.0100.00615.77
7.1.140.0070.00715.34
7.1.130.0060.00615.48
7.1.120.0070.00715.57
7.1.110.0140.00015.65
7.1.100.0030.01015.80
7.1.90.0100.00615.58
7.1.80.0130.00315.64
7.1.70.0030.00416.29
7.1.60.0070.00316.28
7.1.50.0130.00315.65
7.1.40.0040.01415.70
7.1.30.0030.01315.70
7.1.20.0060.01015.71
7.1.10.0120.00615.51
7.1.00.0100.03818.91
7.0.330.0040.00815.15
7.0.320.0070.01115.25
7.0.310.0170.00015.25
7.0.300.0090.00615.29
7.0.290.0110.00315.14
7.0.280.0060.00315.17
7.0.270.0070.00715.28
7.0.260.0070.00815.12
7.0.250.0030.00715.03
7.0.240.0080.00415.09
7.0.230.0030.01015.05
7.0.220.0070.00715.15
7.0.210.0060.00614.94
7.0.200.0210.00614.72
7.0.190.0130.00015.35
7.0.180.0030.00615.07
7.0.170.0040.00814.89
7.0.160.0090.00315.29
7.0.150.0110.00415.13
7.0.140.0100.00715.39
7.0.130.0040.03218.63
7.0.120.0100.02918.44
7.0.110.0090.03218.55
7.0.100.0120.02718.50
7.0.90.0090.03418.62
7.0.80.0090.03218.55
7.0.70.0060.03118.67
7.0.60.0070.03218.60
7.0.50.0080.02818.59
7.0.40.0070.03717.52
7.0.30.0070.03217.61
7.0.20.0050.03317.70
7.0.10.0050.03317.66
7.0.00.0070.02917.51
5.6.380.0070.00713.93
5.6.370.0100.00313.88
5.6.360.0100.00313.76
5.6.350.0000.01414.07
5.6.340.0030.00913.82
5.6.330.0060.00613.81
5.6.320.0090.00613.96
5.6.310.0000.00714.13
5.6.300.0090.00613.83
5.6.290.0000.01513.79
5.6.280.0030.03417.39
5.6.270.0100.02517.42
5.6.260.0070.03017.46
5.6.250.0070.03017.48
5.6.240.0050.03317.32
5.6.230.0060.03217.46
5.6.220.0070.03217.44
5.6.210.0050.03217.44
5.6.200.0030.03417.42
5.6.190.0070.02917.31
5.6.180.0070.02917.46
5.6.170.0000.03617.28
5.6.160.0100.03017.46
5.6.150.0070.03317.49
5.6.140.0050.03117.60
5.6.130.0100.02817.33
5.6.120.0070.03317.42
5.6.110.0020.03717.59
5.6.100.0080.03017.37
5.6.90.0080.03017.49
5.6.80.0070.02917.13
5.6.70.0100.02717.13
5.6.60.0140.02417.09
5.6.50.0090.02917.04
5.6.40.0070.02917.12
5.6.30.0050.03217.17
5.6.20.0060.03317.28
5.6.10.0080.02917.04
5.6.00.0140.03017.01

preferences:
64.54 ms | 401 KiB | 5 Q