3v4l.org

run code in 300+ PHP versions simultaneously
<?php function res() {} $ress = res(); var_dump($ress == true);

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.40.0160.00318.66
8.3.30.0150.00018.72
8.3.20.0080.00021.92
8.3.10.0060.00321.79
8.3.00.0040.00420.91
8.2.170.0060.00822.96
8.2.160.0100.00322.08
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0000.00722.08
8.2.120.0030.00526.35
8.2.110.0140.00322.16
8.2.100.0040.00817.72
8.2.90.0080.00017.84
8.2.80.0040.00417.97
8.2.70.0060.00317.63
8.2.60.0040.00417.93
8.2.50.0030.00618.10
8.2.40.0080.00022.15
8.2.30.0040.00420.94
8.2.20.0000.00818.11
8.2.10.0040.00418.09
8.2.00.0000.00718.15
8.1.270.0000.00822.10
8.1.260.0000.00726.35
8.1.250.0070.00028.09
8.1.240.0060.00322.14
8.1.230.0040.00820.93
8.1.220.0080.00017.74
8.1.210.0060.00319.03
8.1.200.0060.00317.35
8.1.190.0080.00017.10
8.1.180.0030.00518.10
8.1.170.0040.00418.50
8.1.160.0070.00019.06
8.1.150.0040.00420.67
8.1.140.0050.00219.50
8.1.130.0060.00318.74
8.1.120.0030.00317.41
8.1.110.0000.00817.36
8.1.100.0030.00417.31
8.1.90.0000.00817.46
8.1.80.0040.00417.48
8.1.70.0080.00017.40
8.1.60.0060.00317.64
8.1.50.0080.00017.56
8.1.40.0040.00417.52
8.1.30.0060.00317.65
8.1.20.0000.00817.60
8.1.10.0040.00417.44
8.1.00.0040.00417.26
8.0.300.0020.00519.98
8.0.290.0000.00716.63
8.0.280.0070.00018.38
8.0.270.0050.00217.22
8.0.260.0030.00316.80
8.0.250.0000.00716.93
8.0.240.0030.00316.82
8.0.230.0020.00516.88
8.0.220.0070.00016.90
8.0.210.0030.00316.79
8.0.200.0000.00716.91
8.0.190.0090.00016.96
8.0.180.0030.00516.94
8.0.170.0020.00516.80
8.0.160.0050.00316.91
8.0.150.0030.00316.85
8.0.140.0030.00316.81
8.0.130.0070.00013.26
8.0.120.0000.00716.81
8.0.110.0040.00416.90
8.0.100.0000.00716.83
8.0.90.0000.00716.89
8.0.80.0090.01216.95
8.0.70.0000.00716.75
8.0.60.0040.00416.78
8.0.50.0040.00416.84
8.0.30.0090.00917.02
8.0.20.0080.01017.40
8.0.10.0020.00516.83
8.0.00.0070.01016.90
7.4.330.0000.00615.55
7.4.320.0030.00316.63
7.4.300.0070.00016.61
7.4.290.0030.00316.67
7.4.280.0080.00016.49
7.4.270.0090.00016.58
7.4.260.0030.00716.52
7.4.250.0000.00716.47
7.4.240.0040.00416.45
7.4.230.0000.00716.34
7.4.220.0040.01416.66
7.4.210.0060.01016.47
7.4.200.0000.00716.59
7.4.160.0080.00816.52
7.4.150.0170.00017.40
7.4.140.0120.00617.86
7.4.130.0080.01616.58
7.4.120.0130.00816.55
7.4.110.0140.00816.54
7.4.100.0110.00716.63
7.4.90.0150.00616.56
7.4.80.0060.01019.39
7.4.70.0100.00716.41
7.4.60.0030.01216.66
7.4.50.0120.00616.34
7.4.40.0030.01316.36
7.4.30.0120.00416.66
7.4.00.0110.00514.89
7.3.330.0000.00513.33
7.3.320.0000.00513.33
7.3.310.0000.00616.31
7.3.300.0030.00316.32
7.3.290.0070.00016.16
7.3.280.0080.00816.32
7.3.270.0120.02417.40
7.3.260.0040.01316.66
7.3.250.0160.00516.50
7.3.240.0110.00716.53
7.3.230.0140.00316.58
7.3.210.0060.01216.23
7.3.200.0000.01516.39
7.3.190.0090.00616.32
7.3.180.0090.00616.29
7.3.170.0100.00716.18
7.3.160.0040.01216.57
7.3.120.0060.00914.88
7.3.110.0000.01514.45
7.3.100.0150.00314.75
7.3.90.0100.00314.94
7.3.80.0070.00714.69
7.3.70.0030.00614.83
7.3.60.0080.00814.77
7.3.50.0100.00314.64
7.3.40.0130.00314.55
7.3.30.0070.00714.76
7.3.20.0030.01016.54
7.3.10.0050.00716.64
7.3.00.0060.00816.72
7.2.330.0150.00816.63
7.2.320.0030.01616.59
7.2.310.0060.00916.42
7.2.300.0090.00616.76
7.2.290.0060.01116.34
7.2.250.0000.01514.82
7.2.240.0100.00714.65
7.2.230.0130.00314.59
7.2.220.0070.00715.05
7.2.210.0090.00614.95
7.2.200.0080.00414.98
7.2.190.0000.01815.13
7.2.180.0080.00614.89
7.2.170.0000.01714.96
7.2.160.0130.00314.82
7.2.150.0000.01316.78
7.2.140.0030.01016.68
7.2.130.0080.00716.80
7.2.120.0100.00416.86
7.2.110.0040.00616.69
7.2.100.0080.00616.72
7.2.90.0120.00516.87
7.2.80.0070.00816.83
7.2.70.0040.00816.97
7.2.60.0030.01116.87
7.2.50.0030.00816.86
7.2.40.0020.00816.90
7.2.30.0140.00216.88
7.2.20.0100.00716.72
7.2.10.0050.00616.90
7.2.00.0050.01117.65
7.1.330.0130.00315.64
7.1.320.0000.01515.61
7.1.310.0070.00615.66
7.1.300.0030.01015.80
7.1.290.0060.00815.83
7.1.280.0040.01115.68
7.1.270.0060.00615.59
7.1.260.0000.01415.82
7.1.250.0100.00515.78
7.1.240.0090.00915.81
7.1.230.0040.00715.82
7.1.220.0080.00315.80
7.1.210.0060.00715.65
7.1.200.0030.00515.74
7.1.190.0070.00715.54
7.1.180.0080.00815.68
7.1.170.0060.00915.85
7.1.160.0090.00615.62
7.1.150.0030.00915.86
7.1.140.0040.01415.72
7.1.130.0030.01015.89
7.1.120.0030.01015.54
7.1.110.0090.00615.77
7.1.100.0430.01015.74
7.1.90.0080.00415.88
7.1.80.0070.00315.88
7.1.70.0070.00716.52
7.1.60.0270.01224.51
7.1.50.0270.01324.25
7.1.40.0270.00724.28
7.1.30.0250.01224.14
7.1.20.0250.01224.24
7.1.10.0250.00815.42
7.1.00.0160.00815.21
7.0.330.0070.00715.35
7.0.320.0080.00415.38
7.0.310.0080.00415.11
7.0.300.0060.00615.23
7.0.290.0040.00415.07
7.0.280.0110.00715.27
7.0.270.0030.00615.29
7.0.260.0030.01215.17
7.0.250.0030.00715.50
7.0.240.0060.00615.43
7.0.230.0030.01315.46
7.0.220.0040.00715.59
7.0.210.0120.00015.18
7.0.200.0190.00715.18
7.0.190.0180.00915.03
7.0.180.0200.01014.67
7.0.170.0200.01314.81
7.0.160.0190.00714.85
7.0.150.0150.01214.84
7.0.140.0170.01014.80
7.0.130.0270.00714.90
7.0.120.0300.00814.84
7.0.110.0270.00514.70
7.0.100.0400.00715.04
7.0.90.0300.00814.82
7.0.80.0180.00714.67
7.0.70.0180.00814.82
7.0.60.0150.01014.87
7.0.50.0180.01114.89
7.0.40.0210.00714.12
7.0.30.0200.01013.84
7.0.20.0150.01114.02
7.0.10.0200.00514.08
7.0.00.0180.00614.02
5.6.400.0060.00914.31
5.6.390.0030.01514.36
5.6.380.0060.00614.53
5.6.370.0060.00314.12
5.6.360.0040.00414.23
5.6.350.0100.00313.86
5.6.340.0040.00814.45
5.6.330.0070.01014.19
5.6.320.0000.01114.44
5.6.310.0070.00714.36
5.6.300.0040.01214.19
5.6.290.0040.00714.46
5.6.280.0030.01014.14
5.6.270.0080.00414.21
5.6.260.0080.00313.93
5.6.250.0030.01014.38
5.6.240.0150.00314.39
5.6.230.0060.00614.26
5.6.220.0030.01314.29
5.6.210.0040.00814.12
5.6.200.0060.00614.17
5.6.190.0040.00414.39
5.6.180.0040.00714.13
5.6.170.0070.00714.17
5.6.160.0040.00414.35
5.6.150.0000.01314.39
5.6.140.0000.01514.13
5.6.130.0090.00014.30
5.6.120.0080.00313.98
5.6.110.0040.01114.56
5.6.100.0000.01414.07
5.6.90.0070.01114.04
5.6.80.0040.01114.20
5.6.70.0040.01414.01
5.6.60.0040.01114.05
5.6.50.0140.00014.21
5.6.40.0070.01014.01
5.6.30.0090.00914.11
5.6.20.0000.01414.04
5.6.10.0000.01714.02
5.6.00.0040.01114.04

preferences:
40.96 ms | 400 KiB | 5 Q