3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { public function query() { } public function x() { $this->query(); // object context } } $result = $this->query('POST', $path, $captcha, array('captcha', 'id'));

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.10
8.3.50.0140.00821.08
8.3.40.0130.00618.81
8.3.30.0070.00720.52
8.3.20.0000.00820.20
8.3.10.0000.00821.91
8.3.00.0040.00422.52
8.2.180.0110.01116.34
8.2.170.0110.00722.96
8.2.160.0150.00022.12
8.2.150.0000.00724.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0040.00420.85
8.2.110.0060.00319.32
8.2.100.0040.00817.78
8.2.90.0080.00019.23
8.2.80.0040.00419.38
8.2.70.0000.00917.61
8.2.60.0040.00417.80
8.2.50.0000.00818.07
8.2.40.0000.00819.94
8.2.30.0080.00019.45
8.2.20.0020.00517.76
8.2.10.0080.00017.64
8.2.00.0040.00417.61
8.1.280.0110.00725.92
8.1.270.0100.00023.99
8.1.260.0070.00726.35
8.1.250.0040.00428.09
8.1.240.0080.00322.29
8.1.230.0000.01020.84
8.1.220.0060.00318.77
8.1.210.0040.00419.04
8.1.200.0060.00317.22
8.1.190.0060.00317.30
8.1.180.0040.00419.01
8.1.170.0060.00318.41
8.1.160.0020.00518.82
8.1.150.0070.00318.62
8.1.140.0040.00417.36
8.1.130.0030.00317.75
8.1.120.0030.00317.27
8.1.110.0040.00417.21
8.1.100.0050.00217.36
8.1.90.0020.00517.30
8.1.80.0070.00017.25
8.1.70.0000.00717.27
8.1.60.0060.00317.45
8.1.50.0050.00317.49
8.1.40.0070.00017.42
8.1.30.0040.00417.56
8.1.20.0000.00817.59
8.1.10.0080.00017.38
8.1.00.0030.00617.44
8.0.300.0000.00919.85
8.0.290.0000.00817.18
8.0.280.0000.00718.42
8.0.270.0030.00317.07
8.0.260.0030.00316.86
8.0.250.0000.00616.85
8.0.240.0050.00316.86
8.0.230.0030.00316.99
8.0.220.0000.00616.94
8.0.210.0000.00716.86
8.0.200.0000.00716.88
8.0.190.0030.00316.99
8.0.180.0040.00416.93
8.0.170.0040.00416.91
8.0.160.0040.00416.84
8.0.150.0000.00716.79
8.0.140.0040.00416.69
8.0.130.0000.00613.26
8.0.120.0040.00416.85
8.0.110.0000.00816.80
8.0.100.0040.00416.87
8.0.90.0040.00416.83
8.0.80.0040.01116.96
8.0.70.0040.00416.82
8.0.60.0070.00016.86
8.0.50.0040.00416.80
8.0.30.0100.00917.11
8.0.20.0140.00817.40
8.0.10.0040.00416.85
8.0.00.0150.00816.77
7.4.330.0030.00415.00
7.4.320.0030.00316.30
7.4.300.0000.00616.46
7.4.290.0030.00316.33
7.4.280.0050.00316.52
7.4.270.0030.00616.46
7.4.260.0000.00513.21
7.4.250.0040.00416.32
7.4.240.0040.00316.40
7.4.230.0040.00416.54
7.4.220.0170.01016.61
7.4.210.0080.00916.49
7.4.200.0000.00716.52
7.4.190.0000.00716.68
7.4.160.0140.00716.41
7.4.150.0090.00917.40
7.4.140.0080.00817.86
7.4.130.0100.00716.51
7.4.120.0170.00216.44
7.4.110.0060.01216.52
7.4.100.0140.00716.51
7.4.90.0110.01416.45
7.4.80.0120.00619.39
7.4.70.0110.01116.35
7.4.60.0150.00416.55
7.4.50.0000.00816.59
7.4.40.0060.00922.77
7.4.30.0170.00516.59
7.4.00.0070.00714.84
7.3.330.0060.00013.32
7.3.320.0030.00313.28
7.3.310.0030.00316.27
7.3.300.0000.00716.32
7.3.290.0090.00616.31
7.3.280.0070.01116.31
7.3.270.0030.01317.40
7.3.260.0120.01616.37
7.3.250.0120.00616.46
7.3.240.0100.00616.25
7.3.230.0060.01616.39
7.3.210.0090.01316.51
7.3.200.0120.01219.39
7.3.190.0130.01016.25
7.3.180.0090.00916.11
7.3.170.0090.00916.27
7.3.160.0030.01316.30
7.3.120.0040.01414.75
7.2.330.0110.00716.49
7.2.320.0120.00816.22
7.2.310.0070.01616.34
7.2.300.0060.01016.57
7.2.290.0070.01316.38
7.2.80.0040.00816.55
7.2.60.0040.01116.79
7.2.00.0030.01219.09
7.1.200.0170.00715.50
7.1.100.0040.00417.74
7.1.70.0000.01017.13
7.1.60.0140.01119.32
7.1.50.0070.01416.83
7.1.00.0030.03322.35
7.0.200.0040.00416.71
7.0.140.0070.07022.18
7.0.90.0530.08019.84
7.0.80.0370.04320.13
7.0.70.0370.08019.96
7.0.60.0470.04319.98
7.0.50.0500.08720.26
7.0.40.0170.07720.16
7.0.30.0130.07719.96
7.0.20.0030.07720.09
7.0.10.0070.08720.12
7.0.00.0170.07320.02
5.6.280.0100.06721.02
5.6.230.0070.06720.67
5.6.220.0070.08020.53
5.6.210.0070.07720.47
5.6.200.0070.06320.94
5.6.190.0100.07021.05
5.6.180.0170.07321.04
5.6.170.0100.08021.17
5.6.160.0070.07721.02
5.6.150.0070.05020.94
5.6.140.0030.08020.92
5.6.130.0100.07021.11
5.6.120.0100.05321.18
5.6.110.0100.08021.09
5.6.100.0130.07321.06
5.6.90.0070.08020.91
5.6.80.0030.08320.39
5.6.70.0030.06320.31
5.6.60.0170.06720.46
5.6.50.0000.06320.28
5.6.40.0070.07720.37
5.6.30.0070.08020.32
5.6.20.0030.04320.39
5.6.10.0070.08020.37
5.6.00.0070.08320.39
5.5.370.0070.08020.38
5.5.360.0070.07020.34
5.5.350.0130.03320.44
5.5.340.0030.04720.93
5.5.330.0030.05020.77
5.5.320.0100.07720.80
5.5.310.0100.04320.80
5.5.300.0170.06320.76
5.5.290.0170.05020.77
5.5.280.0030.04320.87
5.5.270.0070.07020.92
5.5.260.0100.07720.76
5.5.250.0170.07320.70
5.5.240.0200.06720.14
5.5.230.0130.07320.21
5.5.220.0070.05720.11
5.5.210.0030.06720.30
5.5.200.0000.05720.28
5.5.190.0070.07720.25
5.5.180.0170.06320.18
5.5.160.0030.07320.15
5.5.150.0030.04720.14
5.5.140.0100.04320.15
5.5.130.0100.07020.25
5.5.120.0100.06720.21
5.5.110.0100.07720.26
5.5.100.0000.04320.03
5.5.90.0030.04320.13
5.5.80.0100.07020.15
5.5.70.0030.05020.14
5.5.60.0130.06020.14
5.5.50.0070.06720.08
5.5.40.0130.07020.09
5.5.30.0130.05019.92
5.5.20.0000.08020.05
5.5.10.0230.06320.05
5.5.00.0100.05720.13
5.4.450.0100.07719.20
5.4.440.0100.03719.27
5.4.430.0000.06719.29
5.4.420.0170.05719.41
5.4.410.0030.05019.09
5.4.400.0230.04318.85
5.4.390.0030.08319.05
5.4.380.0000.04719.18
5.4.370.0070.08018.95
5.4.360.0170.07019.12
5.4.350.0070.05018.95
5.4.340.0070.05019.12
5.4.320.0000.05019.04
5.4.310.0130.03718.94
5.4.300.0130.07019.09
5.4.290.0030.07019.02
5.4.280.0030.04019.16
5.4.270.0030.04019.12
5.4.260.0070.05019.09
5.4.250.0130.07019.08
5.4.240.0200.06019.13
5.4.230.0070.03719.12
5.4.220.0030.04018.84
5.4.210.0070.05018.89
5.4.200.0170.06719.02
5.4.190.0100.07319.08
5.4.180.0070.03719.02
5.4.170.0130.06319.11
5.4.160.0170.06718.83
5.4.150.0130.05719.01
5.4.140.0070.07016.46
5.4.130.0000.04016.19
5.4.120.0130.06316.41
5.4.110.0070.04716.48
5.4.100.0100.07016.39
5.4.90.0130.05016.35
5.4.80.0130.07016.41
5.4.70.0200.06016.37
5.4.60.0100.04716.30
5.4.50.0070.06716.46
5.4.40.0070.04716.45
5.4.30.0070.07316.30
5.4.20.0100.05316.46
5.4.10.0100.07016.36
5.4.00.0000.04315.63
5.3.290.0030.09014.68
5.3.280.0030.04314.58
5.3.270.0130.04714.71
5.3.260.0100.07014.72
5.3.250.0070.07714.70
5.3.240.0100.06714.71
5.3.230.0070.07714.59
5.3.220.0100.07014.59
5.3.210.0070.04714.63
5.3.200.0070.07014.53
5.3.190.0100.07014.62
5.3.180.0000.05314.53
5.3.170.0130.07314.59
5.3.160.0030.08014.67
5.3.150.0030.08314.49
5.3.140.0100.07714.61
5.3.130.0100.07314.55
5.3.120.0200.04714.48
5.3.110.0100.07014.47
5.3.100.0100.07714.01
5.3.90.0100.07014.01
5.3.80.0100.05314.14
5.3.70.0100.07314.13
5.3.60.0100.04013.90
5.3.50.0000.08313.93
5.3.40.0200.03013.95
5.3.30.0000.05013.92
5.3.20.0100.04013.76
5.3.10.0070.06713.59
5.3.00.0000.05713.62
5.2.170.0030.03313.54
5.2.160.0030.06013.54
5.2.150.0030.03713.54
5.2.140.0030.06313.54
5.2.130.0070.06313.54
5.2.120.0100.05313.54
5.2.110.0030.06313.54
5.2.100.0070.06013.54
5.2.90.0030.06313.54
5.2.80.0030.06313.54
5.2.70.0100.05713.54
5.2.60.0070.06013.54
5.2.50.0070.03313.54
5.2.40.0000.06313.54
5.2.30.0030.04313.54
5.2.20.0030.06013.54
5.2.10.0070.04313.54
5.2.00.0130.03013.54
5.1.60.0030.05313.54
5.1.50.0000.03313.54
5.1.40.0030.02313.54
5.1.30.0000.03013.54
5.1.20.0000.05313.54
5.1.10.0070.02313.54
5.1.00.0070.02013.54
5.0.50.0000.02713.54
5.0.40.0030.04313.54
5.0.30.0000.04013.54
5.0.20.0100.03013.54
5.0.10.0000.04713.54
5.0.00.0070.06313.54
4.4.90.0070.02313.54
4.4.80.0000.02313.54
4.4.70.0030.03313.54
4.4.60.0000.02313.54
4.4.50.0000.03313.54
4.4.40.0070.03313.54
4.4.30.0030.02313.54
4.4.20.0000.01713.54
4.4.10.0070.03313.54
4.4.00.0030.04013.54
4.3.110.0000.02713.54
4.3.100.0030.03313.54
4.3.90.0030.03713.54
4.3.80.0000.05713.54
4.3.70.0000.04013.54
4.3.60.0000.03713.54
4.3.50.0000.03713.54
4.3.40.0030.05013.54
4.3.30.0030.02013.54
4.3.20.0000.03713.54
4.3.10.0070.02313.54
4.3.00.0070.03013.54

preferences:
49.7 ms | 401 KiB | 5 Q