3v4l.org

run code in 300+ PHP versions simultaneously
<?php class a { public static function __callStatic($a,$b){ echo __CLASS__; } } class_alias("a", "b"); b::moro();

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.0110.00418.31
8.3.50.0120.00621.92
8.3.40.0060.00918.67
8.3.30.0110.00418.89
8.3.20.0080.00020.18
8.3.10.0050.00323.66
8.3.00.0000.00818.96
8.2.180.0240.00716.32
8.2.170.0000.01422.96
8.2.160.0080.01222.13
8.2.150.0060.00324.18
8.2.140.0000.01124.66
8.2.130.0070.00726.16
8.2.120.0040.00419.64
8.2.110.0030.00620.54
8.2.100.0040.00717.78
8.2.90.0040.00417.63
8.2.80.0090.00018.78
8.2.70.0050.00317.93
8.2.60.0040.00418.03
8.2.50.0040.00418.10
8.2.40.0090.00319.20
8.2.30.0000.00719.19
8.2.20.0000.00717.60
8.2.10.0040.00417.99
8.2.00.0040.00417.44
8.1.280.0110.01425.92
8.1.270.0050.00318.84
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0100.00718.82
8.1.230.0030.00920.97
8.1.220.0030.00617.74
8.1.210.0040.00418.77
8.1.200.0090.00016.88
8.1.190.0030.00517.13
8.1.180.0000.00718.84
8.1.170.0030.00618.49
8.1.160.0000.00719.05
8.1.150.0080.00018.72
8.1.140.0020.00517.34
8.1.130.0070.00017.77
8.1.120.0070.00017.34
8.1.110.0070.00317.26
8.1.100.0030.00317.21
8.1.90.0070.00017.36
8.1.80.0000.00817.35
8.1.70.0030.00317.37
8.1.60.0040.00417.57
8.1.50.0060.00317.38
8.1.40.0000.00817.42
8.1.30.0040.00417.66
8.1.20.0040.00417.65
8.1.10.0080.00017.41
8.1.00.0030.00517.45
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0000.00718.49
8.0.270.0000.00717.20
8.0.260.0030.00317.32
8.0.250.0030.00316.91
8.0.240.0030.00316.88
8.0.230.0070.00016.77
8.0.220.0030.00316.87
8.0.210.0000.00616.81
8.0.200.0040.00416.89
8.0.190.0030.00516.88
8.0.180.0040.00716.74
8.0.170.0040.00416.75
8.0.160.0030.00316.75
8.0.150.0000.00716.76
8.0.140.0040.00416.62
8.0.130.0070.00013.16
8.0.120.0030.00516.64
8.0.110.0000.00716.68
8.0.100.0040.00416.83
8.0.90.0030.00616.63
8.0.80.0070.00716.81
8.0.70.0000.00716.72
8.0.60.0000.00716.80
8.0.50.0000.00716.63
8.0.30.0080.01316.95
8.0.20.0150.00517.40
8.0.10.0000.00717.01
8.0.00.0090.00916.61
7.4.330.0050.00015.03
7.4.320.0060.00016.44
7.4.300.0030.00316.50
7.4.290.0030.00416.58
7.4.280.0070.00016.64
7.4.270.0030.00316.59
7.4.260.0000.00716.64
7.4.250.0040.00416.57
7.4.240.0020.00516.49
7.4.230.0070.00016.39
7.4.220.0030.01916.61
7.4.210.0150.00616.67
7.4.200.0030.00316.54
7.4.160.0090.00616.39
7.4.150.0070.01117.40
7.4.140.0110.00617.86
7.4.130.0060.01116.47
7.4.120.0050.01216.51
7.4.110.0130.01016.51
7.4.100.0070.01016.65
7.4.90.0070.01016.29
7.4.80.0070.01019.39
7.4.70.0110.00816.43
7.4.60.0140.00416.72
7.4.50.0040.00416.43
7.4.40.0000.01616.34
7.4.30.0090.01216.34
7.4.00.0030.01014.85
7.3.330.0000.00613.21
7.3.320.0050.00013.19
7.3.310.0040.00416.27
7.3.300.0070.00016.07
7.3.290.0080.00516.21
7.3.280.0050.01116.26
7.3.270.0100.01017.40
7.3.260.0140.00316.30
7.3.250.0070.01016.46
7.3.240.0130.00616.54
7.3.230.0090.00616.39
7.3.210.0060.01516.27
7.3.200.0000.01619.39
7.3.190.0110.00516.16
7.3.180.0100.00716.18
7.3.170.0090.00916.27
7.3.160.0090.00616.22
7.3.10.0090.00616.55
7.3.00.0040.01516.63
7.2.330.0110.01116.63
7.2.320.0060.01216.55
7.2.310.0130.00416.37
7.2.300.0160.00416.30
7.2.290.0080.00816.66
7.2.130.0070.00716.67
7.2.120.0050.00516.79
7.2.110.0070.00716.64
7.2.100.0030.01016.46
7.2.90.0040.00716.62
7.2.80.0000.01016.40
7.2.70.0070.00716.84
7.2.60.0030.00916.70
7.2.50.0100.00316.92
7.2.40.0070.00716.57
7.2.30.0030.00716.77
7.2.20.0080.00816.66
7.2.10.0030.01016.59
7.2.00.0050.00917.98
7.1.250.0080.00415.43
7.1.200.0040.00715.84
7.1.100.0990.00415.98
7.1.70.0100.00516.80
7.1.60.0140.01019.22
7.1.50.0070.01116.52
7.1.00.0000.08022.33
7.0.200.0110.00416.61
7.0.140.0100.06021.93
7.0.60.0030.04019.89
7.0.50.0130.06017.85
7.0.40.0130.05020.05
7.0.30.0530.08020.34
7.0.20.0230.04020.23
7.0.10.0070.06020.06
7.0.00.0070.08320.25
5.6.210.0100.07320.61
5.6.200.0070.05018.18
5.6.190.0000.06320.77
5.6.180.3900.03720.33
5.6.170.0230.05320.44
5.6.160.0000.05020.71
5.6.150.0030.05718.23
5.6.140.0200.06718.24
5.6.130.0070.08018.18
5.6.120.0070.08721.13
5.6.110.0100.08721.11
5.6.100.0030.07321.01
5.6.90.0070.06321.10
5.6.80.0130.05320.41
5.6.70.0330.07020.50
5.5.350.0100.06720.35
5.5.340.0030.05717.95
5.5.330.0100.07720.59
5.5.320.0230.03720.20
5.5.310.0300.08020.46
5.5.300.0130.07017.99
5.5.290.0030.07317.92
5.5.280.0070.06720.89
5.5.270.0070.05020.83
5.5.260.0030.06720.66
5.5.250.0000.08320.56
5.5.240.0070.07320.26
5.4.450.0100.05719.46
5.4.440.0970.05719.40
5.4.430.0700.06319.30
5.4.420.0700.05719.48
5.4.410.0500.05719.37
5.4.400.0700.04719.06
5.4.390.0300.05318.47
5.4.380.0300.04318.63
5.4.370.0230.05718.56
5.4.360.0330.04718.86
5.4.350.0130.05318.52
5.4.340.0100.05318.74
5.4.320.0130.05318.71
5.4.310.0100.05318.49
5.4.300.0130.05318.76
5.4.290.0200.05318.77
5.4.280.0100.06018.70
5.4.270.0200.06318.57
5.4.260.0270.05318.52
5.4.250.0170.05318.43
5.4.240.0170.05318.68
5.4.230.0270.04318.76
5.4.220.0230.05018.59
5.4.210.0170.05318.72
5.4.200.0170.04716.63
5.4.190.0170.05718.66
5.4.180.0330.05718.76
5.4.170.0170.05318.73
5.4.160.0130.05318.70
5.4.150.0130.05718.75
5.4.140.0200.04716.34
5.4.130.0130.05016.26
5.4.120.0270.04016.30
5.4.110.0200.04716.30
5.4.100.0200.05016.23
5.4.90.0230.04316.32
5.4.80.0130.05716.24
5.4.70.0270.04016.24
5.4.60.0230.04716.21
5.4.50.0130.05016.18
5.4.40.0230.04316.23
5.4.30.0130.06016.25
5.4.20.0100.05716.38
5.4.10.0170.05316.40
5.4.00.0170.05315.70
5.3.290.0230.04714.88
5.3.280.0230.04714.61
5.3.270.0170.05314.73
5.3.260.0230.05314.70
5.3.250.0030.06714.67
5.3.240.0100.05714.58
5.3.230.0270.04014.66
5.3.220.0130.05314.59
5.3.210.0200.05014.58
5.3.200.0130.05314.77
5.3.190.0170.05014.62
5.3.180.0100.05714.55
5.3.170.0200.04714.62
5.3.160.0100.05714.60
5.3.150.0230.05714.75
5.3.140.0170.07314.70
5.3.130.0270.04314.78
5.3.120.0200.05314.67
5.3.110.0100.05714.56
5.3.100.0130.05714.03
5.3.90.0200.04314.08
5.3.80.0070.05714.12
5.3.70.0270.04314.22
5.3.60.0300.03714.04
5.3.50.0100.05713.98
5.3.40.0200.05013.96
5.3.30.0300.06314.01
5.3.20.0070.05713.71
5.3.10.0200.04313.76
5.3.00.0170.05013.86
5.2.170.0100.04711.27
5.2.160.0100.04311.27
5.2.150.0230.04011.22
5.2.140.0170.04011.16
5.2.130.0130.06011.15
5.2.120.0170.05311.14
5.2.110.0200.04311.14
5.2.100.0130.04011.14
5.2.90.0270.02711.20
5.2.80.0130.05011.20
5.2.70.0200.03711.09
5.2.60.0100.05311.07
5.2.50.0100.04311.15
5.2.40.0130.03711.07
5.2.30.0170.03711.07
5.2.20.0000.05010.98
5.2.10.0130.05310.96
5.2.00.0100.04010.82
5.1.60.0070.03710.09
5.1.50.0100.03710.11
5.1.40.0100.03710.10
5.1.30.0100.03710.36
5.1.20.0130.03310.33
5.1.10.0130.03310.07
5.1.00.0100.04010.16
5.0.50.0070.0278.56
5.0.40.0000.0338.43
5.0.30.0030.0438.44
5.0.20.0030.0308.38
5.0.10.0100.0278.23
5.0.00.0030.0508.20
4.4.90.0000.0306.00
4.4.80.0000.0275.89
4.4.70.0070.0205.96
4.4.60.0100.0205.87
4.4.50.0070.0205.87
4.4.40.0100.0305.89
4.4.30.0070.0205.96
4.4.20.0030.0235.92
4.4.10.0100.0205.94
4.4.00.0000.0405.90
4.3.110.0100.0175.81
4.3.100.0030.0235.81
4.3.90.0070.0205.87
4.3.80.0030.0375.87
4.3.70.0070.0205.76
4.3.60.0030.0235.80
4.3.50.0070.0205.78
4.3.40.0000.0375.77
4.3.30.0030.0274.59
4.3.20.0030.0234.58
4.3.10.0070.0174.58
4.3.00.0130.0277.23

preferences:
53.19 ms | 401 KiB | 5 Q