3v4l.org

run code in 300+ PHP versions simultaneously
<?php class C { public function f() { return 'foo'; } public static function __callStatic($method, $params) { $o = new static; echo "In callStatic"; return call_user_func_array(array($o, $method), $params); } } C::f(); C::x();

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.00716.50
8.3.50.0100.01016.50
8.3.40.0120.00318.76
8.3.30.0120.00618.68
8.3.20.0060.00318.90
8.3.10.0040.00420.35
8.3.00.0070.01117.50
8.2.180.0180.00416.50
8.2.170.0000.01422.96
8.2.160.0080.00821.01
8.2.150.0040.01124.18
8.2.140.0060.00324.66
8.2.130.0070.00026.16
8.2.120.0090.00019.23
8.2.110.0000.00921.06
8.2.100.0090.00317.72
8.2.90.0060.00621.07
8.2.80.0080.00019.28
8.2.70.0000.00817.50
8.2.60.0030.00617.80
8.2.50.0000.00818.07
8.2.40.0000.00718.03
8.2.30.0000.00817.95
8.2.20.0070.00017.71
8.2.10.0040.00417.54
8.2.00.0060.00317.78
8.1.280.0070.00725.92
8.1.270.0080.00024.66
8.1.260.0050.00326.35
8.1.250.0050.00328.09
8.1.240.0060.00322.56
8.1.230.0080.00420.89
8.1.220.0030.00717.78
8.1.210.0050.00518.77
8.1.200.0030.00717.25
8.1.190.0040.00417.51
8.1.180.0000.00818.10
8.1.170.0000.00820.63
8.1.160.0070.00018.80
8.1.150.0060.00318.38
8.1.140.0080.00017.31
8.1.130.0000.00717.63
8.1.120.0040.00417.39
8.1.110.0020.00517.29
8.1.100.0000.00817.23
8.1.90.0000.00717.33
8.1.80.0000.00717.30
8.1.70.0000.00717.23
8.1.60.0080.00017.39
8.1.50.0040.00417.43
8.1.40.0000.00817.42
8.1.30.0000.00817.57
8.1.20.0070.00017.54
8.1.10.0000.00817.38
8.1.00.0030.00517.38
8.0.300.0050.00319.83
8.0.290.0000.00816.75
8.0.280.0000.00718.40
8.0.270.0050.00317.11
8.0.260.0060.00316.88
8.0.250.0040.00416.97
8.0.240.0000.00816.99
8.0.230.0070.00016.92
8.0.220.0000.00716.85
8.0.210.0070.00016.75
8.0.200.0030.00316.82
8.0.190.0030.00316.86
8.0.180.0000.00716.92
8.0.170.0040.00416.80
8.0.160.0050.00216.95
8.0.150.0000.00716.73
8.0.140.0030.00616.76
8.0.130.0040.00413.28
8.0.120.0000.00816.87
8.0.110.0000.00716.82
8.0.100.0040.00416.67
8.0.90.0050.00216.89
8.0.80.0060.00916.81
8.0.70.0040.00416.72
8.0.60.0040.00416.77
8.0.50.0060.00316.93
8.0.30.0090.00917.01
8.0.20.0070.01016.98
8.0.10.0050.00517.00
8.0.00.0140.00616.79
7.4.330.0020.00212.96
7.4.320.0030.00816.46
7.4.300.0030.00316.60
7.4.290.0000.00716.43
7.4.280.0050.00316.64
7.4.270.0070.00016.48
7.4.260.0000.00613.21
7.4.250.0060.00316.50
7.4.240.0050.00216.61
7.4.230.0070.00016.55
7.4.220.0100.01016.56
7.4.210.0090.00716.52
7.4.200.0070.00016.63
7.4.190.0030.00316.45
7.4.160.0120.01216.76
7.4.150.0120.00616.69
7.4.140.0150.00916.56
7.4.130.0080.00916.51
7.4.120.0090.00916.52
7.4.110.0070.01416.44
7.4.100.0120.00616.61
7.4.90.0110.00616.57
7.4.80.0040.01619.39
7.4.70.0110.00716.59
7.4.60.0070.01116.41
7.4.50.0030.00616.39
7.4.40.0060.00616.55
7.4.30.0120.00416.74
7.4.10.0110.00415.07
7.4.00.0080.00914.95
7.3.330.0000.00713.26
7.3.320.0030.00313.32
7.3.310.0000.00716.35
7.3.300.0000.00716.18
7.3.290.0120.00616.33
7.3.280.0080.00916.24
7.3.270.0130.01016.27
7.3.260.0170.00016.41
7.3.250.0070.01216.40
7.3.240.0090.01216.34
7.3.230.0120.00616.57
7.3.210.0030.01516.44
7.3.200.0030.01316.36
7.3.190.0150.00716.55
7.3.180.0060.00916.51
7.3.170.0090.01116.43
7.3.160.0070.01016.43
7.3.130.0070.01014.61
7.3.120.0040.01014.88
7.3.110.0070.01115.02
7.3.100.0060.00914.98
7.3.90.0040.01115.00
7.3.80.0080.00814.89
7.3.70.0040.00814.76
7.3.60.0000.00914.87
7.3.50.0100.00314.84
7.3.40.0060.00914.83
7.3.30.0120.00314.83
7.3.20.0030.00716.66
7.3.10.0000.00916.55
7.3.00.0080.00816.43
7.2.330.0030.01316.79
7.2.320.0000.01716.57
7.2.310.0030.02116.52
7.2.300.0100.01016.57
7.2.290.0030.01416.51
7.2.260.0060.01315.00
7.2.250.0040.01514.82
7.2.240.0030.01014.99
7.2.230.0070.00415.23
7.2.220.0060.00315.07
7.2.210.0090.00315.22
7.2.200.0030.01014.86
7.2.190.0030.00714.88
7.2.180.0000.01015.10
7.2.170.0040.00814.99
7.2.160.0030.00615.14
7.2.150.0000.01316.86
7.2.140.0100.00316.70
7.2.130.0000.01216.80
7.2.120.0000.01416.70
7.2.110.0080.00416.63
7.2.100.0060.00616.70
7.2.90.0000.01616.84
7.2.80.0080.00816.81
7.2.70.0100.00316.75
7.2.60.0060.00816.88
7.2.50.0060.00916.81
7.2.40.0030.01516.97
7.2.30.0090.00316.65
7.2.20.0100.00316.72
7.2.10.0030.01016.90
7.2.00.0030.00918.02
7.1.330.0000.01515.56
7.1.320.0070.00715.68
7.1.310.0110.00315.81
7.1.300.0060.00615.77
7.1.290.0080.00415.48
7.1.280.0080.00615.52
7.1.270.0000.01315.38
7.1.260.0070.00415.43
7.1.250.0100.00315.50
7.1.240.0110.00315.66
7.1.230.0090.00315.48
7.1.220.0030.00715.76
7.1.210.0090.00315.90
7.1.200.0060.00515.69
7.1.190.0040.01115.38
7.1.180.0030.01015.68
7.1.170.0100.00315.65
7.1.160.0100.00015.57
7.1.150.0070.00715.50
7.1.140.0030.00715.68
7.1.130.0030.01015.62
7.1.120.0000.01115.60
7.1.110.0070.00715.64
7.1.100.0020.01116.87
7.1.90.0090.00315.80
7.1.80.0000.00915.62
7.1.70.0030.00816.42
7.1.60.0090.00917.58
7.1.50.0110.00516.23
7.1.40.0040.01115.82
7.1.30.0080.00315.75
7.1.20.0030.01015.75
7.1.10.0000.01315.82
7.1.00.0040.04219.04
7.0.330.0070.00415.48
7.0.320.0070.00715.40
7.0.310.0060.00615.32
7.0.300.0000.00915.48
7.0.290.0030.01015.44
7.0.280.0000.01015.40
7.0.270.0090.00015.49
7.0.260.0070.00715.36
7.0.250.0030.00715.41
7.0.240.0040.00415.41
7.0.230.0030.00915.37
7.0.220.0040.00815.40
7.0.210.0030.00615.45
7.0.200.0050.00615.94
7.0.190.0030.01015.47
7.0.180.0040.00715.46
7.0.170.0000.00915.46
7.0.160.0040.01215.48
7.0.150.0060.00615.49
7.0.140.0100.03718.88
7.0.130.0040.00415.33
7.0.120.0030.03818.78
7.0.110.0030.01015.14
7.0.100.0000.01215.43
7.0.90.0000.01215.53
7.0.80.0000.00815.47
7.0.70.0000.01115.46
7.0.60.0030.04517.71
7.0.50.0090.03216.56
7.0.40.0030.02816.89
7.0.30.0130.04816.78
7.0.20.0210.03716.75
7.0.10.0130.02816.83
7.0.00.0050.04516.73
5.6.400.0060.00914.52
5.6.390.0040.01114.49
5.6.380.0090.00314.57
5.6.370.0070.00714.53
5.6.360.0030.00914.34
5.6.350.0030.01314.48
5.6.340.0030.00514.50
5.6.330.0080.00414.46
5.6.320.0030.01314.17
5.6.310.0040.00814.24
5.6.300.0060.00614.22
5.6.290.0120.00014.69
5.6.280.0060.03617.73
5.6.270.0030.00614.45
5.6.260.0060.00614.41
5.6.250.0030.00714.05
5.6.240.0060.00914.38
5.6.230.0060.00914.30
5.6.220.0000.01314.33
5.6.210.0050.02217.34
5.6.200.0050.04216.35
5.6.190.0030.03017.33
5.6.180.0200.03917.25
5.6.170.0110.02317.46
5.6.160.0080.04017.56
5.6.150.0080.02116.44
5.6.140.0070.04516.12
5.6.130.0080.04316.19
5.6.120.0060.04117.66
5.6.110.0070.04417.85
5.6.100.0050.04917.66
5.6.90.0080.02717.72
5.6.80.0120.04017.29
5.6.70.2270.02017.16
5.6.60.0070.00714.13
5.6.50.0030.01014.13
5.6.40.0060.00314.37
5.6.30.0030.01014.48
5.6.20.0100.01014.18
5.6.10.0000.00914.04
5.6.00.0070.00314.46
5.5.380.0000.01114.02
5.5.370.0000.01413.94
5.5.360.0040.00414.28
5.5.350.0180.04117.36
5.5.340.0080.04016.20
5.5.330.0080.04517.35
5.5.320.0120.02317.25
5.5.310.0120.04117.33
5.5.300.0050.02316.11
5.5.290.0100.04016.03
5.5.280.0120.03917.62
5.5.270.0100.02917.38
5.5.260.0050.04817.62
5.5.250.0120.03817.53
5.5.240.0030.02517.20
5.5.230.0060.00314.08
5.5.220.0030.01014.10
5.5.210.0030.00613.98
5.5.200.0080.00414.39
5.5.190.0140.00014.22
5.5.180.0070.01314.09
5.5.170.0030.00714.26
5.5.160.0060.00914.27
5.5.150.0060.00614.41
5.5.140.0100.00314.11
5.5.130.0070.00714.10
5.5.120.0060.00614.12
5.5.110.0080.00814.11
5.5.100.0090.00614.06
5.5.90.0000.01613.98
5.5.80.0060.00614.19
5.5.70.0000.00914.47
5.5.60.0060.00614.05
5.5.50.0130.00014.19
5.5.40.0040.00714.40
5.5.30.0040.00813.99
5.5.20.0040.00814.20
5.5.10.0090.00314.37
5.5.00.0040.00414.42
5.4.450.0070.02215.26
5.4.440.0080.03514.98
5.4.430.0100.02214.99
5.4.420.0080.03815.10
5.4.410.0050.04015.30
5.4.400.0050.02715.11
5.4.390.0100.04014.77
5.4.380.0050.02815.16
5.4.370.0070.03015.04
5.4.360.0090.03815.12
5.4.350.0020.04415.02
5.4.340.0040.02115.09
5.4.330.0000.00711.04
5.4.320.0060.03415.12
5.4.310.0070.02214.89
5.4.300.0020.02815.04
5.4.290.0050.02314.73
5.4.280.0070.02715.18
5.4.270.0070.02015.04
5.4.260.0080.02615.15
5.4.250.0040.02414.94
5.4.240.0080.04015.05
5.4.230.0070.02615.19
5.4.220.0020.04514.93
5.4.210.0090.04015.04
5.4.200.0050.03314.92
5.4.190.0050.02314.96
5.4.180.0070.04215.12
5.4.170.0070.02414.96
5.4.160.0020.02815.02
5.4.150.0020.02715.00
5.4.140.0080.03613.73
5.4.130.0040.02513.68
5.4.120.0020.02213.85
5.4.110.0050.02013.66
5.4.100.0020.02313.66
5.4.90.0040.02013.82
5.4.80.0060.02013.69
5.4.70.0030.02113.71
5.4.60.0030.02113.72
5.4.50.0030.02113.92
5.4.40.0050.02313.60
5.4.30.0080.01513.68
5.4.20.0030.02413.55
5.4.10.0050.02113.64
5.4.00.0040.01813.47
5.3.290.0030.04612.76
5.3.280.0060.02812.59
5.3.270.0080.03712.64
5.3.260.0040.02912.53
5.3.250.0050.02212.56
5.3.240.0070.03412.56
5.3.230.0070.01812.64
5.3.220.0050.02712.56
5.3.210.0060.02112.46
5.3.200.0050.01912.56
5.3.190.0060.01812.45
5.3.180.0060.02012.51
5.3.170.0000.02412.54
5.3.160.0040.01912.71
5.3.150.0020.02012.65
5.3.140.0030.02012.59
5.3.130.0030.02312.56
5.3.120.0050.02212.45
5.3.110.0050.02012.50
5.3.100.0040.02012.22
5.3.90.0030.02012.35
5.3.80.0040.02012.31
5.3.70.0020.02312.28
5.3.60.0020.02212.30
5.3.50.0050.02012.19
5.3.40.0020.02012.25
5.3.30.0020.02712.24
5.3.20.0030.02012.11
5.3.10.0060.01712.01
5.3.00.0020.02211.96
5.2.170.0030.02711.07
5.2.160.0000.03011.15
5.2.150.0030.02711.22
5.2.140.0000.03011.30
5.2.130.0000.03011.17
5.2.120.0030.02711.06
5.2.110.0030.02711.10
5.2.100.0070.02310.99
5.2.90.0030.02711.07
5.2.80.0000.03011.02
5.2.70.0000.03011.10
5.2.60.0000.03011.05
5.2.50.0000.03011.05
5.2.40.0000.03010.99
5.2.30.0030.02710.97
5.2.20.0030.02711.02
5.2.10.0000.03010.86
5.2.00.0030.02710.67
5.1.60.0070.02010.02
5.1.50.0030.02310.14
5.1.40.0000.0239.98
5.1.30.0030.02710.50
5.1.20.0030.02710.37
5.1.10.0100.0209.98
5.1.00.0100.05010.02
5.0.50.0000.0208.69
5.0.40.0070.0208.43
5.0.30.0000.0678.27
5.0.20.0070.0438.22
5.0.10.0000.0278.22
5.0.00.0000.0478.22
4.4.90.0000.0177.91
4.4.80.0000.0207.91
4.4.70.0000.0177.91
4.4.60.0030.0137.91
4.4.50.0000.0177.91
4.4.40.0030.0207.91
4.4.30.0000.0177.91
4.4.20.0030.0207.91
4.4.10.0000.0207.91
4.4.00.0030.0377.91
4.3.110.0030.0137.91
4.3.100.0070.0337.91
4.3.90.0000.0277.91
4.3.80.0000.0507.91
4.3.70.0130.0237.91
4.3.60.0130.0177.91
4.3.50.0000.0277.91
4.3.40.0000.0337.91
4.3.30.0030.0337.91
4.3.20.0030.0337.91
4.3.10.0000.0307.91
4.3.00.0000.0377.91

preferences:
81.52 ms | 400 KiB | 5 Q