3v4l.org

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

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.0130.00618.45
8.3.50.0070.00721.91
8.3.40.0030.01418.83
8.3.30.0000.01419.05
8.3.20.0000.00820.13
8.3.10.0040.00422.14
8.3.00.0080.00022.30
8.2.180.0150.00618.29
8.2.170.0080.00822.96
8.2.160.0070.00720.52
8.2.150.0050.00324.18
8.2.140.0080.00024.66
8.2.130.0150.00326.16
8.2.120.0090.00019.36
8.2.110.0040.00422.09
8.2.100.0090.00319.57
8.2.90.0040.00419.05
8.2.80.0000.00817.97
8.2.70.0040.00417.38
8.2.60.0050.00317.93
8.2.50.0000.00918.07
8.2.40.0050.00318.03
8.2.30.0040.00417.88
8.2.20.0040.00417.65
8.2.10.0000.00819.47
8.2.00.0080.00017.82
8.1.280.0110.01125.92
8.1.270.0080.00022.02
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0060.00323.79
8.1.230.0070.00419.21
8.1.220.0040.00417.74
8.1.210.0030.00618.77
8.1.200.0030.00717.25
8.1.190.0040.00417.43
8.1.180.0030.00518.10
8.1.170.0050.00318.50
8.1.160.0080.00021.88
8.1.150.0080.00018.45
8.1.140.0040.00417.39
8.1.130.0070.00017.84
8.1.120.0000.00817.36
8.1.110.0040.00417.34
8.1.100.0020.00517.30
8.1.90.0080.00017.41
8.1.80.0000.00717.43
8.1.70.0020.00517.37
8.1.60.0030.00617.63
8.1.50.0000.00817.42
8.1.40.0040.00417.52
8.1.30.0040.00417.54
8.1.20.0050.00317.61
8.1.10.0040.00417.60
8.1.00.0070.00017.52
8.0.300.0070.00018.77
8.0.290.0070.00017.18
8.0.280.0000.00718.26
8.0.270.0030.00317.27
8.0.260.0030.00316.85
8.0.250.0060.00016.85
8.0.240.0000.00716.97
8.0.230.0000.00716.91
8.0.220.0000.00716.80
8.0.210.0040.00316.94
8.0.200.0040.00417.01
8.0.190.0050.00216.93
8.0.180.0030.00416.92
8.0.170.0070.00016.93
8.0.160.0000.00716.85
8.0.150.0070.00016.85
8.0.140.0050.00216.75
8.0.130.0030.00313.25
8.0.120.0000.00816.86
8.0.110.0000.00716.88
8.0.100.0000.00716.75
8.0.90.0000.00716.84
8.0.80.0100.00716.87
8.0.70.0000.00816.96
8.0.60.0040.00416.95
8.0.50.0040.00416.74
8.0.30.0160.00417.27
8.0.20.0100.00917.40
8.0.10.0070.00016.89
8.0.00.0080.01116.69
7.4.330.0050.00015.07
7.4.320.0060.00016.62
7.4.300.0000.00616.39
7.4.290.0030.00316.57
7.4.280.0020.00516.41
7.4.270.0000.00716.65
7.4.260.0060.00316.48
7.4.250.0080.00016.54
7.4.240.0020.00516.61
7.4.230.0030.00316.34
7.4.220.0070.01016.56
7.4.210.0080.00816.53
7.4.200.0030.00316.57
7.4.190.0000.00716.54
7.4.160.0120.00316.30
7.4.150.0070.01017.40
7.4.140.0070.01017.86
7.4.130.0100.00816.43
7.4.120.0080.01216.58
7.4.110.0040.01716.57
7.4.100.0110.00716.52
7.4.90.0140.00416.52
7.4.80.0120.00919.39
7.4.70.0060.01216.51
7.4.60.0140.00716.53
7.4.50.0000.00916.18
7.4.40.0090.00622.77
7.4.30.0090.00916.34
7.4.00.0070.00915.09
7.3.330.0030.00313.37
7.3.320.0000.00513.22
7.3.310.0070.00016.19
7.3.300.0000.00716.36
7.3.290.0030.01316.36
7.3.280.0060.01016.37
7.3.270.0190.00617.40
7.3.260.0090.01316.30
7.3.250.0070.01116.51
7.3.240.0100.00716.29
7.3.230.0040.01316.39
7.3.210.0070.01016.23
7.3.200.0060.01019.39
7.3.190.0140.00316.31
7.3.180.0040.01216.30
7.3.170.0130.00316.37
7.3.160.0060.01616.25
7.3.120.0070.01015.03
7.3.110.0070.01214.99
7.3.100.0050.01115.01
7.3.90.0050.00815.03
7.3.80.0030.01014.89
7.3.70.0060.00315.00
7.3.60.0070.00715.09
7.3.50.0120.00314.95
7.3.40.0060.00815.04
7.3.30.0080.00615.04
7.3.20.0070.00616.72
7.3.10.0050.00716.60
7.3.00.0070.01016.72
7.2.330.0100.01316.71
7.2.320.0090.01516.80
7.2.310.0100.00616.65
7.2.300.0110.01116.66
7.2.290.0130.00316.59
7.2.250.0070.01215.18
7.2.240.0050.01415.02
7.2.230.0060.00615.17
7.2.220.0050.00814.92
7.2.210.0020.01115.18
7.2.200.0040.00715.05
7.2.190.0100.00315.18
7.2.180.0050.00715.10
7.2.170.0060.01115.13
7.2.160.0030.01015.03
7.2.150.0070.00716.67
7.2.140.0100.00016.52
7.2.130.0080.00316.75
7.2.120.0040.01516.89
7.2.110.0100.00316.58
7.2.100.0070.00717.05
7.2.90.0120.00616.85
7.2.80.0090.00916.73
7.2.70.0040.00816.81
7.2.60.0130.00316.92
7.2.50.0080.00816.68
7.2.40.0070.00316.99
7.2.30.0080.01116.89
7.2.20.0040.01116.63
7.2.10.0070.00716.95
7.2.00.0030.00818.08
7.1.330.0070.00915.87
7.1.320.0030.01015.76
7.1.310.0030.00915.86
7.1.300.0070.00815.79
7.1.290.0030.00615.74
7.1.280.0080.00615.85
7.1.270.0080.00315.80
7.1.260.0090.00615.63
7.1.250.0040.01415.86
7.1.240.0060.00315.68
7.1.230.0140.00015.82
7.1.220.0030.00615.53
7.1.210.0090.00615.83
7.1.200.0030.01315.74
7.1.190.0070.00315.91
7.1.180.0000.01115.78
7.1.170.0040.01215.79
7.1.160.0080.00415.66
7.1.150.0090.00615.57
7.1.140.0030.01015.82
7.1.130.0060.00915.70
7.1.120.0050.00315.63
7.1.110.0100.00715.82
7.1.100.0060.00915.82
7.1.90.0070.01015.89
7.1.80.0040.00815.63
7.1.70.0040.00716.49
7.1.60.0040.00916.51
7.1.50.0100.00916.51
7.1.40.0080.00815.95
7.1.30.0100.00715.51
7.1.20.0040.01115.76
7.1.10.0070.01115.67
7.1.00.0020.04518.97
7.0.330.0140.00315.36
7.0.320.0170.00015.49
7.0.310.0060.00615.47
7.0.300.0060.00915.35
7.0.290.0030.01015.23
7.0.280.0100.00015.42
7.0.270.0130.00015.38
7.0.260.0060.00615.49
7.0.250.0120.00315.36
7.0.240.0040.00415.56
7.0.230.0060.00915.11
7.0.220.0030.00915.54
7.0.210.0070.00715.38
7.0.200.0050.00616.16
7.0.190.0090.00015.05
7.0.180.0000.01015.32
7.0.170.0100.00715.39
7.0.160.0130.00315.48
7.0.150.0070.01115.31
7.0.140.0040.04118.60
7.0.130.0030.01015.20
7.0.120.0040.01115.46
7.0.110.0070.00715.40
7.0.100.0030.00715.52
7.0.90.0070.00715.51
7.0.80.0100.00315.46
7.0.70.0000.01115.32
7.0.60.0110.03817.88
7.0.50.0080.04216.68
7.0.40.0030.02716.66
7.0.30.0300.03816.76
7.0.20.0100.04816.84
7.0.10.0080.04416.82
7.0.00.0080.04516.88
5.6.400.0090.00914.31
5.6.390.0040.01114.41
5.6.380.0070.01114.25
5.6.370.0000.01314.50
5.6.360.0030.00614.24
5.6.350.0030.01314.27
5.6.340.0060.00314.38
5.6.330.0040.01414.44
5.6.320.0070.01014.55
5.6.310.0060.00614.18
5.6.300.0060.00614.28
5.6.290.0040.00714.26
5.6.280.0000.04317.83
5.6.270.0000.01414.38
5.6.260.0100.00314.42
5.6.250.0080.00314.60
5.6.240.0120.00314.43
5.6.230.0080.00314.51
5.6.220.0090.00314.60
5.6.210.0060.04617.51
5.6.200.0110.04216.24
5.6.190.0080.04117.39
5.6.180.0190.02517.25
5.6.170.0300.03317.32
5.6.160.0060.04417.33
5.6.150.0100.03816.29
5.6.140.0030.02716.13
5.6.130.0140.04016.20
5.6.120.0050.04817.75
5.6.110.0120.04217.58
5.6.100.0050.04517.60
5.6.90.0150.04017.57
5.6.80.0060.02917.40
5.6.70.2330.02217.22
5.6.60.0120.00313.99
5.6.50.0040.00714.44
5.6.40.0060.00614.48
5.6.30.0080.00614.31
5.6.20.0030.01014.23
5.6.10.0040.00414.47
5.6.00.0100.00714.33
5.5.380.0030.00614.30
5.5.370.0060.00314.25
5.5.360.0000.01114.45
5.5.350.0080.04017.29
5.5.340.0100.04016.22
5.5.330.0110.03817.50
5.5.320.0150.02817.19
5.5.310.0120.02217.24
5.5.300.0070.02416.15
5.5.290.0100.04116.21
5.5.280.0060.02517.68
5.5.270.0020.04817.43
5.5.260.0150.04117.47
5.5.250.0050.04517.25
5.5.240.0120.03617.18
5.5.230.0110.00414.17
5.5.220.0070.00714.20
5.5.210.0100.00313.97
5.5.200.0060.00614.54
5.5.190.0060.00614.29
5.5.180.0040.00714.06
5.5.170.0000.00914.00
5.5.160.0070.00714.07
5.5.150.0030.01214.31
5.5.140.0050.00514.30
5.5.130.0030.00714.06
5.5.120.0040.01114.20
5.5.110.0040.01114.32
5.5.100.0000.01414.24
5.5.90.0000.01313.88
5.5.80.0070.00714.02
5.5.70.0080.00513.98
5.5.60.0030.01314.25
5.5.50.0000.01514.23
5.5.40.0070.01013.94
5.5.30.0100.00014.03
5.5.20.0040.00814.25
5.5.10.0110.00414.30
5.5.00.0080.00814.00
5.4.450.0090.03215.54
5.4.440.0070.03215.54
5.4.430.0070.03015.67
5.4.420.0100.02715.63
5.4.410.0130.03615.56
5.4.400.0430.00215.24
5.4.390.0430.00615.26
5.4.380.0170.02815.28
5.4.370.0170.02315.19
5.4.360.0100.02815.29
5.4.350.0120.02715.31
5.4.340.0100.04115.14
5.4.330.0030.00611.81
5.4.320.0050.02212.16
5.4.310.0040.02512.15
5.4.300.0070.02412.16
5.4.290.0060.02312.15
5.4.280.0060.02412.10
5.4.270.0030.03715.29
5.4.260.0030.04015.39
5.4.250.0030.03615.30
5.4.240.0080.03315.23
5.4.230.0070.02515.26
5.4.220.0010.04315.30
5.4.210.0070.03815.42
5.4.200.0110.02515.29
5.4.190.0050.03715.37
5.4.180.0050.03515.22
5.4.170.0110.03015.39
5.4.160.0120.03015.30
5.4.150.0110.03315.29
5.4.140.0030.03014.03
5.4.130.0070.03414.03
5.4.120.0030.03814.02
5.4.110.0070.03514.12
5.4.100.0070.02814.14
5.4.90.0070.02614.21
5.4.80.0070.03214.21
5.4.70.0080.02514.10
5.4.60.0070.03514.20
5.4.50.0080.03314.16
5.4.40.0110.02214.14
5.4.30.0060.02614.05
5.4.20.0050.03814.13
5.4.10.0020.03514.19
5.4.00.0050.02813.86
5.3.290.0050.02412.30
5.3.280.0050.03513.29
5.3.270.0070.03413.20
5.3.260.0040.03213.19
5.3.250.0090.02513.20
5.3.240.0050.03513.28
5.3.230.0070.03313.28
5.3.220.0130.03013.22
5.3.210.0090.03313.22
5.3.200.0040.03413.27
5.3.190.0050.02813.22
5.3.180.0060.03413.20
5.3.170.0000.03813.09
5.3.160.0030.03913.29
5.3.150.0060.02813.29
5.3.140.0070.04513.22
5.3.130.0070.03213.21
5.3.120.0040.03513.21
5.3.110.0020.04313.28
5.3.100.0050.02712.90
5.3.90.0050.03012.95
5.3.80.0080.03012.94
5.3.70.0070.02712.95
5.3.60.0040.03912.91
5.3.50.0060.03312.88
5.3.40.0060.02812.79
5.3.30.0050.04012.93
5.3.20.0050.02912.77
5.3.10.0020.03012.68
5.3.00.0070.03512.75
5.2.170.0000.04711.20
5.2.160.0070.03710.97
5.2.150.0030.05711.22
5.2.140.0030.04311.21
5.2.130.0030.04311.32
5.2.120.0130.04311.08
5.2.110.0100.04011.27
5.2.100.0030.05311.15
5.2.90.0000.04711.17
5.2.80.0100.05311.07
5.2.70.0030.04011.08
5.2.60.0070.05711.23
5.2.50.0000.06011.20
5.2.40.0070.03711.21
5.2.30.0070.05011.03
5.2.20.0000.04011.02
5.2.10.0030.05010.81
5.2.00.0070.04710.77
5.1.60.0070.03710.05
5.1.50.0000.03710.18
5.1.40.0000.04710.02
5.1.30.0100.04010.39
5.1.20.0070.04010.56
5.1.10.0000.0509.98
5.1.00.0030.03710.30
5.0.50.0030.0308.59
5.0.40.0070.0278.46
5.0.30.0030.0408.31
5.0.20.0030.0308.17
5.0.10.0070.0338.17
5.0.00.0030.0438.20
4.4.90.0030.0305.92
4.4.80.0030.0275.85
4.4.70.0000.0305.80
4.4.60.0030.0205.79
4.4.50.0070.0175.82
4.4.40.0030.0375.96
4.4.30.0030.0205.85
4.4.20.0070.0205.87
4.4.10.0030.0275.86
4.4.00.0030.0435.92
4.3.110.0000.0275.79
4.3.100.0000.0275.79
4.3.90.0030.0205.87
4.3.80.0030.0305.79
4.3.70.0030.0205.80
4.3.60.0030.0275.79
4.3.50.0070.0205.79
4.3.40.0000.0375.84
4.3.30.0000.0275.79
4.3.20.0070.0235.79
4.3.10.0070.0205.79
4.3.00.0030.0236.02

preferences:
51.79 ms | 401 KiB | 5 Q