3v4l.org

run code in 300+ PHP versions simultaneously
<?php class MyClass { public function instanceMethod() { return 'MyClass::instanceMethod called'; } } $methodName = 'instanceMethod'; $obj = new MyClass(); var_dump($obj->$methodName());

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.130.0060.00318.36
8.3.120.0030.00619.12
8.3.110.0060.00316.38
8.3.100.0100.00024.06
8.3.90.0080.00026.77
8.3.80.0030.00619.36
8.3.70.0080.01218.43
8.3.60.0070.00718.43
8.3.50.0090.01021.92
8.3.40.0110.00418.54
8.3.30.0110.00318.33
8.3.20.0130.00318.52
8.3.10.0040.00420.84
8.3.00.0080.00021.91
8.2.250.0120.00318.49
8.2.240.0080.00316.94
8.2.230.0030.00620.94
8.2.220.0080.00037.54
8.2.210.0070.00326.77
8.2.200.0050.00518.88
8.2.190.0140.00318.36
8.2.180.0070.00725.92
8.2.170.0130.00718.95
8.2.160.0070.01022.13
8.2.150.0020.00525.66
8.2.140.0050.00324.66
8.2.130.0080.00026.16
8.2.120.0040.00421.08
8.2.110.0090.00921.12
8.2.100.0040.00717.66
8.2.90.0060.00317.84
8.2.80.0030.00618.84
8.2.70.0040.00417.36
8.2.60.0000.00817.63
8.2.50.0060.00317.55
8.2.40.0130.00017.62
8.2.30.0070.00021.25
8.2.20.0050.00317.57
8.2.10.0030.00517.62
8.2.00.0040.00417.56
8.1.300.0090.00017.54
8.1.290.0040.00430.84
8.1.280.0090.00625.92
8.1.270.0080.00024.66
8.1.260.0050.00326.35
8.1.250.0090.00028.09
8.1.240.0000.00922.42
8.1.230.0110.00020.97
8.1.220.0040.00417.79
8.1.210.0080.00018.89
8.1.200.0000.00817.53
8.1.190.0040.00417.10
8.1.180.0080.00018.10
8.1.170.0040.00618.16
8.1.160.0040.00418.76
8.1.150.0000.00718.63
8.1.140.0000.00817.34
8.1.130.0000.00617.67
8.1.120.0050.00317.33
8.1.110.0080.00517.35
8.1.100.0110.00117.27
8.1.90.0100.00117.33
8.1.80.0100.00117.34
8.1.70.0040.00717.33
8.1.60.0090.00417.46
8.1.50.0100.00517.48
8.1.40.0070.00617.46
8.1.30.0070.00617.54
8.1.20.0110.00317.48
8.1.10.0100.00317.48
8.1.00.0090.00617.32
8.0.300.0040.00420.04
8.0.290.0050.00216.63
8.0.280.0030.00318.31
8.0.270.0000.00717.93
8.0.260.0030.00316.75
8.0.250.0030.00616.85
8.0.240.0060.00716.81
8.0.230.0060.00516.89
8.0.220.0090.00216.77
8.0.210.0080.00316.83
8.0.200.0070.00416.81
8.0.190.0070.00416.85
8.0.180.0080.00316.84
8.0.170.0080.00316.80
8.0.160.0070.00316.84
8.0.150.0100.00216.75
8.0.140.0080.00216.75
8.0.130.0090.00215.00
8.0.120.0040.00716.74
8.0.110.0070.00416.78
8.0.100.0070.00416.74
8.0.90.0040.00716.71
8.0.80.0110.00816.82
8.0.70.0070.00516.84
8.0.60.0060.00516.86
8.0.50.0080.00216.81
8.0.30.0100.01116.97
8.0.20.0130.00517.23
8.0.10.0060.00516.91
8.0.00.0090.00916.80
7.4.330.0050.00317.33
7.4.320.0020.00516.50
7.4.300.0000.00816.51
7.4.290.0050.00316.54
7.4.280.0050.00416.58
7.4.270.0100.00216.49
7.4.260.0060.00414.80
7.4.250.0080.00416.50
7.4.240.0040.00716.50
7.4.230.0050.00416.49
7.4.220.0090.00616.57
7.4.210.0080.00716.54
7.4.200.0030.00616.38
7.4.190.0030.00516.48
7.4.180.0060.00716.52
7.4.160.0070.00816.53
7.4.150.0060.00917.00
7.4.140.0090.00817.36
7.4.130.0100.00616.43
7.4.120.0080.00716.27
7.4.110.0090.00716.17
7.4.100.0100.00816.54
7.4.90.0060.01016.21
7.4.80.0060.00917.27
7.4.70.0080.00816.37
7.4.60.0110.00716.34
7.4.50.0080.00716.31
7.4.40.0050.01117.60
7.4.30.0110.00716.40
7.4.20.0090.00716.33
7.4.10.0090.00816.36
7.4.00.0120.00616.25
7.3.330.0050.00514.62
7.3.320.0080.00214.57
7.3.310.0060.00516.16
7.3.300.0040.00716.18
7.3.290.0090.00516.17
7.3.280.0110.00716.26
7.3.270.0100.00516.80
7.3.260.0130.00517.72
7.3.250.0100.00716.25
7.3.240.0090.01016.23
7.3.230.0100.00616.30
7.3.220.0130.00616.27
7.3.210.0090.00816.15
7.3.200.0120.00417.27
7.3.190.0100.00816.27
7.3.180.0120.00716.34
7.3.170.0090.00716.05
7.3.160.0090.00916.13
7.3.150.0120.00616.30
7.3.140.0110.00616.28
7.3.130.0100.00616.18
7.3.120.0090.00715.76
7.3.110.0080.01015.80
7.3.100.0090.00715.80
7.3.90.0090.00815.83
7.3.80.0080.00815.87
7.3.70.0100.00715.87
7.3.60.0110.00615.87
7.3.50.0100.00715.85
7.3.40.0090.00815.88
7.3.30.0080.00715.84
7.3.20.0090.00716.50
7.3.10.0100.00716.50
7.3.00.0120.00916.42
7.2.340.0130.00716.31
7.2.330.0110.00816.47
7.2.320.0120.00716.38
7.2.310.0150.00316.24
7.2.300.0090.00816.43
7.2.290.0110.00616.33
7.2.280.0120.00716.35
7.2.270.0110.00716.39
7.2.260.0070.01116.44
7.2.250.0100.00916.15
7.2.240.0070.01116.08
7.2.230.0130.00615.94
7.2.220.0080.01016.03
7.2.210.0110.00616.12
7.2.200.0120.00716.00
7.2.190.0100.01016.04
7.2.180.0130.00616.07
7.2.170.0110.00816.02
7.2.160.0100.00915.93
7.2.150.0100.00916.72
7.2.140.0120.00916.78
7.2.130.0120.00716.82
7.2.120.0190.00816.75
7.2.110.0080.01016.77
7.2.100.0090.01016.69
7.2.90.0110.00916.78
7.2.80.0110.00916.77
7.2.70.0120.00916.81
7.2.60.0100.00816.69
7.2.50.0120.00816.75
7.2.40.0120.01016.82
7.2.30.0110.00816.82
7.2.20.0110.00716.78
7.2.10.0110.00816.74
7.2.00.0110.00716.74
7.1.330.0120.00715.78
7.1.320.0120.00815.78
7.1.310.0170.00515.70
7.1.300.0130.00915.62
7.1.290.0110.00915.72
7.1.280.0110.00815.64
7.1.270.0130.00715.73
7.1.260.0120.00815.70
7.1.250.0140.00915.69
7.1.240.0130.00815.61
7.1.230.0150.00815.65
7.1.220.0220.00715.69
7.1.210.0140.00815.61
7.1.200.0140.00715.63
7.1.190.0170.00515.61
7.1.180.0120.00915.57
7.1.170.0130.01015.61
7.1.160.0170.00915.65
7.1.150.0150.00815.67
7.1.140.0160.00915.64
7.1.130.0140.00715.64
7.1.120.0120.00915.66
7.1.110.0140.01015.68
7.1.100.0140.00915.71
7.1.90.0160.00715.71
7.1.80.0160.00715.69
7.1.70.0120.00915.83
7.1.60.0170.00716.09
7.1.50.0130.00715.79
7.1.40.0150.00815.66
7.1.30.0140.00915.70
7.1.20.0130.00915.63
7.1.10.0120.01015.63
7.1.00.0110.01216.42
7.0.330.0130.00915.36
7.0.320.0150.00615.31
7.0.310.0180.00415.33
7.0.300.0190.00615.30
7.0.290.0190.00615.27
7.0.280.0140.00715.23
7.0.270.0160.00615.24
7.0.260.0130.00815.27
7.0.250.0160.00915.32
7.0.240.0160.00815.38
7.0.230.0130.00815.32
7.0.220.0140.00715.35
7.0.210.0150.00915.28
7.0.200.0110.00715.43
7.0.190.0130.00815.33
7.0.180.0250.00815.35
7.0.170.0140.00815.44
7.0.160.0130.00715.32
7.0.150.0130.00715.21
7.0.140.0130.01316.11
7.0.130.0130.00815.33
7.0.120.0150.00715.26
7.0.110.0130.00815.35
7.0.100.0160.00515.22
7.0.90.0120.00815.24
7.0.80.0140.00815.26
7.0.70.0160.00915.27
7.0.60.0140.01615.92
7.0.50.0130.01215.62
7.0.40.0140.00915.37
7.0.30.0150.01115.38
7.0.20.0160.01215.32
7.0.10.0160.01115.36
7.0.00.0120.01315.34
5.6.400.0160.00715.74
5.6.390.0160.01115.89
5.6.380.0160.00815.63
5.6.370.0130.00915.58
5.6.360.0140.01015.58
5.6.350.0130.00915.60
5.6.340.0110.01115.54
5.6.330.0140.00815.59
5.6.320.0130.01115.51
5.6.310.0150.00915.63
5.6.300.0120.01115.52
5.6.290.0130.00915.54
5.6.280.0100.01816.31
5.6.270.0130.00915.49
5.6.260.0140.01015.60
5.6.250.0100.01215.54
5.6.240.0150.00815.50
5.6.230.0170.00715.54
5.6.220.0140.01015.57
5.6.210.0140.01916.10
5.6.200.0120.01615.79
5.6.190.0150.01215.79
5.6.180.0120.01315.96
5.6.170.0100.01415.88
5.6.160.0130.01215.84
5.6.150.0130.01215.85
5.6.140.0120.01515.88
5.6.130.0110.01515.88
5.6.120.0150.01715.88
5.6.110.0130.01415.83
5.6.100.0150.01515.93
5.6.90.0150.01515.82
5.6.80.0140.01115.68
5.6.70.0110.01615.76
5.6.60.0100.01615.68
5.6.50.0100.01615.78
5.6.40.0120.01215.73
5.6.30.0130.01315.71
5.6.20.0130.01315.72
5.6.10.0130.01415.71
5.6.00.0130.01815.72
5.5.380.0120.01015.12
5.5.370.0130.01115.05
5.5.360.0130.01015.06
5.5.350.0150.01815.79
5.5.340.0130.01415.47
5.5.330.0110.01515.42
5.5.320.0090.01715.38
5.5.310.0130.01115.44
5.5.300.0110.01515.42
5.5.290.0120.01415.40
5.5.280.0140.01615.40
5.5.270.0130.01215.46
5.5.260.0130.01815.41
5.5.250.0100.01815.38
5.5.240.0120.01315.34
5.5.230.0130.01315.29
5.5.220.0120.01715.30
5.5.210.0110.01715.34
5.5.200.0120.01415.29
5.5.190.0090.02015.26
5.5.180.0120.01415.32
5.5.170.0120.01115.07
5.5.160.0100.01815.35
5.5.150.0100.01315.28
5.5.140.0100.01315.28
5.5.130.0130.01015.25
5.5.120.0080.02015.35
5.5.110.0100.01815.29
5.5.100.0120.01515.35
5.5.90.0110.01615.31
5.5.80.0120.01215.28
5.5.70.0110.01715.30
5.5.60.0110.01715.30
5.5.50.0100.01615.31
5.5.40.0110.01615.23
5.5.30.0110.01615.31
5.5.20.0130.01515.28
5.5.10.0090.02015.25
5.5.00.0110.01315.18
5.4.450.0090.01313.25
5.4.440.0110.01113.28
5.4.430.0100.01213.30
5.4.420.0100.01613.25
5.4.410.0080.01713.22
5.4.400.0090.01113.17
5.4.390.0120.01413.12
5.4.380.0100.01513.13
5.4.370.0120.01413.12
5.4.360.0130.01313.09
5.4.350.0090.01613.11
5.4.340.0090.01713.12
5.4.330.0100.00812.38
5.4.320.0130.01313.18
5.4.310.0080.01713.20
5.4.300.0110.01313.17
5.4.290.0080.01513.14
5.4.280.0110.01213.19
5.4.270.0110.01513.18
5.4.260.0120.01313.17
5.4.250.0100.01513.10
5.4.240.0110.01313.23
5.4.230.0100.01313.13
5.4.220.0110.01313.11
5.4.210.0090.01313.08
5.4.200.0110.01313.07
5.4.190.0100.01013.16
5.4.180.0110.01113.19
5.4.170.0090.01313.11
5.4.160.0110.01613.12
5.4.150.0130.01213.15
5.4.140.0110.01312.93
5.4.130.0100.01512.80
5.4.120.0090.01612.89
5.4.110.0100.01512.78
5.4.100.0110.01012.86
5.4.90.0100.01112.86
5.4.80.0080.01312.85
5.4.70.0090.01612.88
5.4.60.0100.01512.76
5.4.50.0110.01212.84
5.4.40.0090.01612.85
5.4.30.0110.01212.83
5.4.20.0100.01012.85
5.4.10.0090.01212.83
5.4.00.0100.01512.70
5.3.290.0110.01013.11
5.3.280.0100.01313.01
5.3.270.0110.01212.99
5.3.260.0110.01412.96
5.3.250.0100.01212.99
5.3.240.0120.01412.88
5.3.230.0100.01312.95
5.3.220.0110.01512.90
5.3.210.0120.01312.87
5.3.200.0100.01212.88
5.3.190.0120.01412.91
5.3.180.0100.01713.03
5.3.170.0100.01213.10
5.3.160.0110.01413.01
5.3.150.0100.01613.07
5.3.140.0080.01612.97
5.3.130.0110.01112.94
5.3.120.0110.01712.96
5.3.110.0110.01512.88
5.3.100.0100.01212.88
5.3.90.0100.01312.98
5.3.80.0120.01212.81
5.3.70.0110.01512.82
5.3.60.0100.01412.93
5.3.50.0110.01212.82
5.3.40.0100.01612.81
5.3.30.0100.01212.91
5.3.20.0110.01512.81
5.3.10.0120.01312.69
5.3.00.0090.01712.70
5.2.170.0080.01511.81
5.2.160.0100.00811.80
5.2.150.0100.01311.73
5.2.140.0120.01111.72
5.2.130.0090.01011.67
5.2.120.0090.01411.75
5.2.110.0080.01311.67
5.2.100.0110.01111.74
5.2.90.0100.01211.62
5.2.80.0080.01311.56
5.2.70.0060.01811.59
5.2.60.0080.01311.52
5.2.50.0060.01611.63
5.2.40.0080.01311.67
5.2.30.0130.01111.65
5.2.20.0090.01411.60
5.2.10.0090.01311.50
5.2.00.0120.01111.42
5.1.60.0080.01211.03
5.1.50.0080.01111.07
5.1.40.0060.00911.17
5.1.30.0070.00811.22
5.1.20.0080.01211.19
5.1.10.0080.01011.16
5.1.00.0070.01011.07
5.0.50.0060.01110.74
5.0.40.0070.01010.66
5.0.30.0060.01210.66
5.0.20.0060.01010.66
5.0.10.0090.00910.62
5.0.00.0070.01110.59
4.4.90.0040.00810.50
4.4.80.0040.00710.50
4.4.70.0040.00810.50
4.4.60.0050.00710.50
4.4.50.0050.00510.50
4.4.40.0050.00910.50
4.4.30.0050.00610.50
4.4.20.0050.00610.50
4.4.10.0050.00710.50
4.4.00.0060.00810.50
4.3.110.0060.00510.50
4.3.100.0040.00710.50
4.3.90.0040.00510.50
4.3.80.0050.01010.50
4.3.70.0040.00810.50
4.3.60.0050.00610.50
4.3.50.0060.00710.50
4.3.40.0050.00910.50
4.3.30.0030.00810.50
4.3.20.0040.00710.50
4.3.10.0040.00810.50
4.3.00.0020.00810.50

preferences:
30.4 ms | 403 KiB | 5 Q