3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Lazy{ public function __call($method, $arguments){ $arguments = implode(', ', $arguments); echo 'Call to method '.$method.'() with arguments '.$arguments.' failed'; } } $lazy = new Lazy(); $lazy->a('title', 'category'); // Call to method a() with arguments foo, bar failed

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.0140.00718.31
8.3.50.0110.00822.08
8.3.40.0180.00018.66
8.3.30.0100.00319.04
8.3.20.0040.00420.34
8.3.10.0040.00421.92
8.3.00.0030.00622.46
8.2.180.0100.01016.75
8.2.170.0070.00722.96
8.2.160.0200.00020.52
8.2.150.0060.00324.18
8.2.140.0040.00424.66
8.2.130.0110.00426.16
8.2.120.0080.00019.48
8.2.110.0100.00022.21
8.2.100.0090.00319.57
8.2.90.0050.00219.22
8.2.80.0000.00817.97
8.2.70.0080.00017.63
8.2.60.0030.00617.93
8.2.50.0040.00418.07
8.2.40.0000.00718.03
8.2.30.0050.00218.08
8.2.20.0040.00417.59
8.2.10.0030.00519.42
8.2.00.0040.00417.71
8.1.280.0120.00325.92
8.1.270.0110.00422.18
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00323.83
8.1.230.0030.00719.11
8.1.220.0070.00017.76
8.1.210.0040.00418.77
8.1.200.0000.00917.23
8.1.190.0040.00417.53
8.1.180.0040.00418.10
8.1.170.0050.00318.45
8.1.160.0040.00421.98
8.1.150.0060.00318.52
8.1.140.0000.00717.52
8.1.130.0050.00217.93
8.1.120.0000.00717.43
8.1.110.0040.00417.43
8.1.100.0000.00817.49
8.1.90.0000.00717.48
8.1.80.0040.00417.51
8.1.70.0040.00417.36
8.1.60.0110.00017.55
8.1.50.0000.00817.53
8.1.40.0000.00717.54
8.1.30.0080.00017.63
8.1.20.0040.00417.61
8.1.10.0000.00817.50
8.1.00.0000.00817.52
8.0.300.0000.00818.77
8.0.290.0040.00417.04
8.0.280.0030.00318.46
8.0.270.0000.00717.10
8.0.260.0000.00616.75
8.0.250.0070.00016.97
8.0.240.0000.00716.96
8.0.230.0040.00416.94
8.0.220.0070.00016.95
8.0.210.0070.00016.92
8.0.200.0000.00616.91
8.0.190.0040.00416.96
8.0.180.0040.00416.92
8.0.170.0040.00416.94
8.0.160.0040.00416.90
8.0.150.0030.00516.86
8.0.140.0000.00716.78
8.0.130.0050.00013.29
8.0.120.0030.00516.88
8.0.110.0000.00716.85
8.0.100.0000.00716.89
8.0.90.0000.00716.72
8.0.80.0080.00916.96
8.0.70.0040.00416.77
8.0.60.0080.00016.70
8.0.50.0000.00816.70
8.0.30.0150.00817.23
8.0.20.0120.00717.40
8.0.10.0000.00716.83
8.0.00.0100.01116.92
7.4.330.0050.00015.10
7.4.320.0030.00316.43
7.4.300.0000.00716.65
7.4.290.0000.00716.66
7.4.280.0030.00316.54
7.4.270.0030.00316.48
7.4.260.0030.00616.59
7.4.250.0000.00716.46
7.4.240.0020.00516.55
7.4.230.0000.00716.48
7.4.220.0040.01316.61
7.4.210.0060.00916.50
7.4.200.0000.00716.40
7.4.190.0030.00316.56
7.4.160.0110.00516.51
7.4.150.0090.00917.40
7.4.140.0080.00917.86
7.4.130.0110.00716.48
7.4.120.0030.01416.61
7.4.110.0040.01216.33
7.4.100.0180.00616.67
7.4.90.0100.00716.54
7.4.80.0170.00719.39
7.4.70.0100.00716.49
7.4.60.0080.00816.45
7.4.50.0000.00816.62
7.4.40.0070.00722.77
7.4.30.0110.00916.46
7.4.00.0170.00014.78
7.3.330.0000.00713.30
7.3.320.0020.00213.14
7.3.310.0000.00716.30
7.3.300.0030.00316.30
7.3.290.0070.01316.21
7.3.280.0100.00616.31
7.3.270.0070.01017.40
7.3.260.0100.00716.28
7.3.250.0130.00616.38
7.3.240.0090.00916.41
7.3.230.0160.00616.39
7.3.210.0120.00616.29
7.3.200.0110.00519.39
7.3.190.0100.00716.41
7.3.180.0060.00916.23
7.3.170.0000.01616.41
7.3.160.0110.00716.48
7.3.120.0070.00614.87
7.3.10.0040.00416.66
7.3.00.0030.00816.60
7.2.330.0120.00616.50
7.2.320.0000.02516.82
7.2.310.0080.00816.62
7.2.300.0040.01916.45
7.2.290.0110.00516.58
7.2.130.0040.01117.00
7.2.120.0060.00616.98
7.2.110.0070.00416.91
7.2.100.0040.01116.80
7.2.90.0000.01417.09
7.2.80.0000.01416.84
7.2.70.0040.01116.79
7.2.60.0060.00616.91
7.2.50.0040.00816.95
7.2.40.0000.00916.82
7.2.30.0030.01016.90
7.2.20.0000.01017.02
7.2.10.0100.00717.05
7.2.00.0020.01018.25
7.1.250.0040.00715.96
7.1.200.0040.00715.68
7.1.100.0030.00617.87
7.1.70.0030.00716.93
7.1.60.0060.01919.82
7.1.50.0040.01816.96
7.1.00.0070.07322.45
7.0.200.0000.00916.96
7.0.140.0030.07022.08
7.0.60.0170.07719.86
7.0.50.0030.09017.95
7.0.40.0100.08019.96
7.0.30.0630.06320.34
7.0.20.0330.06320.07
7.0.10.0100.04720.13
7.0.00.0000.04320.18
5.6.280.0070.07020.78
5.6.210.0070.08020.51
5.6.200.0070.07018.20
5.6.190.0030.09020.61
5.6.180.3130.05020.61
5.6.170.0170.04720.58
5.6.160.0030.04020.48
5.6.150.0030.04018.18
5.6.140.0130.05018.29
5.6.130.0000.04718.28
5.6.120.0000.04321.02
5.6.110.0130.07720.99
5.6.100.0070.07721.14
5.6.90.0100.05020.96
5.6.80.0100.08020.54
5.6.70.0030.04020.38
5.5.350.0100.03720.45
5.5.340.0100.08018.04
5.5.330.0070.08320.27
5.5.320.0370.04720.35
5.5.310.0170.04020.23
5.5.300.0030.05017.99
5.5.290.0070.08018.01
5.5.280.0000.06720.87
5.5.270.0070.05020.86
5.5.260.0170.04320.86
5.5.250.0130.08320.75
5.5.240.0100.07320.03
5.4.450.0830.04019.55
5.4.440.0130.07319.48
5.4.430.0100.05719.52
5.4.420.0100.05719.46
5.4.410.0170.05019.35
5.4.400.1170.00018.87
5.4.390.1030.00018.70
5.4.380.0200.05718.70
5.4.370.0200.04718.72
5.4.360.0130.06318.66
5.4.350.0130.05718.50
5.4.340.0170.05018.80
5.4.320.0050.03912.50
5.4.310.0070.04012.50
5.4.300.0070.03512.50
5.4.290.0050.04312.50
5.4.280.0050.04412.39
5.4.270.0100.06018.96
5.4.260.0270.06018.90
5.4.250.0170.06018.89
5.4.240.0130.06319.05
5.4.230.0130.05718.98
5.4.220.0030.06018.91
5.4.210.0070.06718.92
5.4.200.0170.07018.80
5.4.190.0130.07318.96
5.4.180.0100.07318.89
5.4.170.0170.05318.95
5.4.160.0100.08018.91
5.4.150.0030.06018.89
5.4.140.0300.05016.60
5.4.130.0100.06716.38
5.4.120.0230.04716.54
5.4.110.0100.07016.53
5.4.100.0200.05716.45
5.4.90.0070.05016.45
5.4.80.0030.07316.55
5.4.70.0130.05316.32
5.4.60.0170.04716.32
5.4.50.0130.06316.27
5.4.40.0000.06316.35
5.4.30.0130.05316.40
5.4.20.0130.07016.42
5.4.10.0170.06316.45
5.4.00.0170.04315.86
5.3.290.0050.04012.80
5.3.280.0170.05714.42
5.3.270.0130.06014.59
5.3.260.0070.08314.60
5.3.250.0130.07314.43
5.3.240.0170.07014.82
5.3.230.0030.05314.67
5.3.220.0130.07014.74
5.3.210.0130.05714.70
5.3.200.0130.05314.53
5.3.190.0230.06314.74
5.3.180.0230.05714.74
5.3.170.0170.04714.62
5.3.160.0300.04714.74
5.3.150.0130.07314.58
5.3.140.0030.05714.63
5.3.130.0170.06314.52
5.3.120.0130.07014.63
5.3.110.0130.06014.56
5.3.100.0230.05014.20
5.3.90.0130.04714.01
5.3.80.0130.05314.00
5.3.70.0100.05714.19
5.3.60.0030.07014.06
5.3.50.0100.06313.80
5.3.40.0030.06314.02
5.3.30.0070.06714.08
5.3.20.0030.05713.60
5.3.10.0100.06313.66
5.3.00.0130.06713.71
5.2.170.0030.04311.22
5.2.160.0100.04011.22
5.2.150.0170.05011.21
5.2.140.0130.05011.21
5.2.130.0070.04711.19
5.2.120.0130.05311.06
5.2.110.0100.05311.10
5.2.100.0100.05311.10
5.2.90.0000.06311.32
5.2.80.0100.05011.25
5.2.70.0130.04011.09
5.2.60.0100.05711.14
5.2.50.0100.05011.10
5.2.40.0070.04711.07
5.2.30.0100.05310.96
5.2.20.0130.04311.03
5.2.10.0030.04310.84
5.2.00.0030.05310.72
5.1.60.0170.03710.00
5.1.50.0130.03010.05
5.1.40.0070.0479.89
5.1.30.0100.05010.41
5.1.20.0100.04710.53
5.1.10.0130.04010.14
5.1.00.0030.05710.16
5.0.50.0000.0438.48
5.0.40.0070.0278.60
5.0.30.0030.0608.44
5.0.20.0030.0378.28
5.0.10.0000.0338.21
5.0.00.0030.0408.25
4.4.90.0030.0235.90
4.4.80.0030.0305.83
4.4.70.0000.0305.85
4.4.60.0030.0305.89
4.4.50.0070.0235.84
4.4.40.0070.0375.80
4.4.30.0070.0275.75
4.4.20.0030.0305.91
4.4.10.0070.0205.88
4.4.00.0000.0435.86
4.3.110.0030.0305.78
4.3.100.0030.0275.74
4.3.90.0070.0275.77
4.3.80.0100.0375.77
4.3.70.0030.0205.74
4.3.60.0030.0275.74
4.3.50.0030.0305.67
4.3.40.0000.0475.70
4.3.30.0000.0274.86
4.3.20.0030.0274.86
4.3.10.0000.0334.86
4.3.00.0030.01313.50

preferences:
40.65 ms | 401 KiB | 5 Q