3v4l.org

run code in 300+ PHP versions simultaneously
<?php class facade { public static function __callStatic($a,$b){ echo get_called_class(); } } $facades = ["a" => "b"]; foreach ($facades as $facade => $class) { eval('class '.$facade.' extends facade {}'); } a::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.0070.00718.18
8.3.50.0080.01022.05
8.3.40.0070.01419.02
8.3.30.0070.00719.07
8.3.20.0040.00420.16
8.3.10.0090.00023.65
8.3.00.0150.00419.02
8.2.180.0060.01216.38
8.2.170.0110.00422.96
8.2.160.0110.00422.13
8.2.150.0040.00424.18
8.2.140.0000.00924.66
8.2.130.0000.00826.16
8.2.120.0080.00020.75
8.2.110.0060.00322.12
8.2.100.0110.00017.91
8.2.90.0000.00817.75
8.2.80.0050.00318.48
8.2.70.0050.00518.04
8.2.60.0050.00318.22
8.2.50.0080.00018.10
8.2.40.0040.00419.23
8.2.30.0040.00419.27
8.2.20.0080.00017.56
8.2.10.0040.00417.98
8.2.00.0000.00717.73
8.1.280.0100.01325.92
8.1.270.0040.01519.01
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0080.00023.91
8.1.230.0080.00320.88
8.1.220.0040.00417.74
8.1.210.0060.00318.77
8.1.200.0060.00317.35
8.1.190.0050.00417.13
8.1.180.0080.00019.02
8.1.170.0060.00318.41
8.1.160.0040.00419.07
8.1.150.0000.00718.72
8.1.140.0070.00017.44
8.1.130.0000.00717.74
8.1.120.0000.00717.35
8.1.110.0030.00717.33
8.1.100.0000.00717.47
8.1.90.0020.00517.34
8.1.80.0000.00717.47
8.1.70.0040.00417.49
8.1.60.0060.00317.59
8.1.50.0030.00517.50
8.1.40.0000.00817.43
8.1.30.0040.00417.53
8.1.20.0030.00617.70
8.1.10.0040.00417.59
8.1.00.0040.00417.51
8.0.300.0000.00818.77
8.0.290.0080.00016.75
8.0.280.0040.00418.44
8.0.270.0030.00317.11
8.0.260.0030.00317.21
8.0.250.0030.00316.96
8.0.240.0030.00316.91
8.0.230.0040.00416.91
8.0.220.0000.00816.75
8.0.210.0030.00316.92
8.0.200.0030.00716.93
8.0.190.0070.00016.95
8.0.180.0050.00316.89
8.0.170.0000.00716.95
8.0.160.0000.00716.98
8.0.150.0000.00716.71
8.0.140.0000.00816.82
8.0.130.0070.00013.33
8.0.120.0030.00616.89
8.0.110.0000.00716.89
8.0.100.0040.00416.88
8.0.90.0000.00716.82
8.0.80.0100.01316.88
8.0.70.0040.00416.88
8.0.60.0070.00016.98
8.0.50.0000.00716.92
8.0.30.0070.01716.98
8.0.20.0120.00717.40
8.0.10.0050.00316.91
8.0.00.0100.00816.89
7.4.330.0000.00515.07
7.4.320.0000.00716.60
7.4.300.0000.00716.58
7.4.290.0040.00416.52
7.4.280.0040.00416.49
7.4.270.0030.00316.61
7.4.260.0000.00816.57
7.4.250.0050.00216.51
7.4.240.0050.00216.61
7.4.230.0050.00216.69
7.4.220.0070.01016.70
7.4.210.0140.00616.46
7.4.200.0040.00416.59
7.4.160.0100.00616.45
7.4.150.0140.00417.40
7.4.140.0110.00717.86
7.4.130.0030.01416.48
7.4.120.0120.00616.53
7.4.110.0040.01416.57
7.4.100.0100.01016.45
7.4.90.0070.01016.41
7.4.80.0040.01419.39
7.4.70.0030.01316.54
7.4.60.0100.00616.47
7.4.50.0030.00316.43
7.4.40.0030.01316.39
7.4.30.0140.00716.59
7.4.00.0060.00615.10
7.3.330.0000.00513.14
7.3.320.0000.00513.29
7.3.310.0040.00416.32
7.3.300.0070.00016.18
7.3.290.0080.00916.31
7.3.280.0090.00816.29
7.3.270.0040.01417.40
7.3.260.0090.00816.24
7.3.250.0110.00616.57
7.3.240.0060.01716.55
7.3.230.0100.00716.41
7.3.210.0180.00716.63
7.3.200.0140.00319.39
7.3.190.0100.00916.63
7.3.180.0060.01016.50
7.3.170.0130.00616.36
7.3.160.0120.00316.47
7.2.330.0130.01016.80
7.2.320.0060.01216.38
7.2.310.0370.02816.76
7.2.300.0100.00716.42
7.2.290.0060.00916.45
7.2.00.0060.01019.52
7.1.100.0830.00616.37
7.1.70.0150.00317.06
7.1.60.0030.01017.30
7.1.50.0100.01016.78
7.1.00.0030.07322.50
7.0.200.0210.00316.41
7.0.140.0000.03722.08
7.0.60.0030.04020.02
7.0.50.0070.08017.86
7.0.40.0130.08020.05
7.0.30.0570.06720.26
7.0.20.0230.06020.10
7.0.10.0030.07320.16
7.0.00.0000.09020.19
5.6.280.0000.07321.11
5.6.210.0170.05020.62
5.6.200.0100.07718.34
5.6.190.0130.07720.63
5.6.180.3400.04320.67
5.6.170.0230.05020.62
5.6.160.0070.08720.54
5.6.150.0100.07018.24
5.6.140.0070.04018.18
5.6.130.0030.04018.16
5.6.120.0030.05020.99
5.6.110.0100.04020.89
5.6.100.0070.06321.00
5.6.90.0130.07720.97
5.6.80.0070.08720.36
5.6.70.0400.07020.41
5.5.350.0100.07720.53
5.5.340.0170.05717.93
5.5.330.0130.07720.40
5.5.320.0300.06020.19
5.5.310.0270.08320.24
5.5.300.0030.04017.95
5.5.290.0070.04318.07
5.5.280.0100.04320.77
5.5.270.0130.06320.87
5.5.260.0030.07720.88
5.5.250.0100.08320.56
5.5.240.0030.03720.24
5.4.450.0730.06719.70
5.4.440.0770.06319.23
5.4.430.0670.05319.46
5.4.420.0700.04019.61
5.4.410.0730.05019.21
5.4.400.0570.05318.93
5.4.390.0200.05018.61
5.4.380.0200.05018.84
5.4.370.0100.05718.72
5.4.360.0130.06318.80
5.4.350.0200.05318.71
5.4.340.0100.05718.58
5.4.320.0200.06718.65
5.4.310.0230.04718.57
5.4.300.0200.05718.48
5.4.290.0070.06318.71
5.4.280.0330.04018.66
5.4.270.0200.05018.52
5.4.260.0230.04718.77
5.4.250.0200.05718.55
5.4.240.0230.05018.76
5.4.230.0170.06718.56
5.4.220.0100.06318.79
5.4.210.0200.06318.67
5.4.200.0170.05716.53
5.4.190.0100.06018.60
5.4.180.0100.05718.82
5.4.170.0230.05318.68
5.4.160.0200.05318.76
5.4.150.0100.06018.44
5.4.140.0100.05716.46
5.4.130.0170.04716.44
5.4.120.0130.05316.27
5.4.110.0200.04316.23
5.4.100.0100.05716.29
5.4.90.0170.05716.20
5.4.80.0130.05016.22
5.4.70.0130.05316.28
5.4.60.0130.05316.30
5.4.50.0030.06316.17
5.4.40.0170.04716.25
5.4.30.0200.04316.25
5.4.20.0170.05016.25
5.4.10.0200.04316.16
5.4.00.0170.04715.69
5.3.290.0170.05314.77
5.3.280.0130.05314.63
5.3.270.0170.05314.70
5.3.260.0200.04714.70
5.3.250.0100.05714.71
5.3.240.0170.05014.62
5.3.230.0170.05014.73
5.3.220.0070.06714.61
5.3.210.0200.05014.61
5.3.200.0100.05714.69
5.3.190.0330.03714.62
5.3.180.0100.05714.69
5.3.170.0170.05014.61
5.3.160.0070.05714.61
5.3.150.0130.05014.69
5.3.140.0130.05714.76
5.3.130.0100.06314.56
5.3.120.0170.05314.55
5.3.110.0170.05314.55
5.3.100.0100.05714.08
5.3.90.0230.04314.00
5.3.80.0130.05014.09
5.3.70.0200.04314.22
5.3.60.0130.05313.98
5.3.50.0200.04713.97
5.3.40.0170.05714.07
5.3.30.0170.05013.98
5.3.20.0270.04013.73
5.3.10.0100.05013.82
5.3.00.0070.06013.68
5.2.170.0100.05311.13
5.2.160.0030.05011.14
5.2.150.0170.03711.17
5.2.140.0070.04711.25
5.2.130.0230.04311.14
5.2.120.0070.04711.22
5.2.110.0130.04011.08
5.2.100.0100.04011.20
5.2.90.0070.05311.17
5.2.80.0070.05011.13
5.2.70.0230.04011.08
5.2.60.0070.05011.15
5.2.50.0230.05011.12
5.2.40.0070.05311.10
5.2.30.0100.04310.99
5.2.20.0100.04011.01
5.2.10.0200.03010.86
5.2.00.0100.04310.82
5.1.60.0170.02710.19
5.1.50.0030.04010.07
5.1.40.0030.04010.09
5.1.30.0170.03010.35
5.1.20.0030.04310.48
5.1.10.0100.04010.15
5.1.00.0170.03310.26
5.0.50.0070.0338.57
5.0.40.0130.0238.53
5.0.30.0070.0538.24
5.0.20.0130.0238.27
5.0.10.0100.0278.21
5.0.00.0070.0438.26
4.4.90.0030.0235.93
4.4.80.0030.0335.91
4.4.70.0070.0235.86
4.4.60.0000.0275.91
4.4.50.0100.0175.95
4.4.40.0070.0335.91
4.4.30.0100.0205.90
4.4.20.0030.0275.94
4.4.10.0070.0236.05
4.4.00.0030.0375.98
4.3.110.0100.0205.85
4.3.100.0000.0275.85
4.3.90.0100.0175.81
4.3.80.0070.0335.78
4.3.70.0100.0205.89
4.3.60.0070.0235.80
4.3.50.0030.0235.80
4.3.40.0100.0305.77
4.3.30.0030.0235.58
4.3.20.0000.0275.58
4.3.10.0000.0235.58
4.3.00.0070.0177.30

preferences:
40.25 ms | 401 KiB | 5 Q