3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo($optional = null, $require) { }

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.0060.01218.59
8.3.30.0090.00618.71
8.3.20.0060.00324.18
8.3.10.0000.01424.66
8.3.00.0040.00426.16
8.2.170.0110.00418.84
8.2.160.0090.00922.96
8.2.150.0050.00325.66
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0040.00421.04
8.2.110.0080.00020.34
8.2.100.0110.00017.72
8.2.90.0050.00317.50
8.2.80.0040.00418.67
8.2.70.0030.00617.38
8.2.60.0040.00417.91
8.2.50.0040.00418.07
8.2.40.0000.00818.10
8.2.30.0040.00417.98
8.2.20.0020.00517.89
8.2.10.0050.00318.99
8.2.00.0070.00019.15
8.1.270.0040.00424.66
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0000.01018.49
8.1.230.0080.00417.64
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0050.00517.10
8.1.190.0000.00817.11
8.1.180.0000.00818.10
8.1.170.0000.00818.59
8.1.160.0000.00718.63
8.1.150.0000.00718.81
8.1.140.0020.00518.70
8.1.130.0040.00420.11
8.1.120.0040.00417.35
8.1.110.0000.00817.36
8.1.100.0050.00317.33
8.1.90.0020.00517.22
8.1.80.0030.00717.20
8.1.70.0060.00017.20
8.1.60.0040.00417.52
8.1.50.0050.00317.34
8.1.40.0000.00717.34
8.1.30.0040.00417.53
8.1.20.0000.00817.53
8.1.10.0040.00417.26
8.1.00.0020.00517.31
8.0.300.0060.00318.77
8.0.290.0070.00016.63
8.0.280.0000.00718.30
8.0.270.0080.00017.97
8.0.260.0030.00318.55
8.0.250.0000.00716.87
8.0.240.0070.00016.85
8.0.230.0070.00016.87
8.0.220.0040.00416.84
8.0.210.0030.00316.75
8.0.200.0000.00616.89
8.0.190.0080.00016.77
8.0.180.0030.00516.83
8.0.170.0040.00416.72
8.0.160.0030.00316.76
8.0.150.0000.00716.73
8.0.140.0000.00716.79
8.0.130.0000.00613.25
8.0.120.0000.00716.73
8.0.110.0080.00016.79
8.0.100.0040.00416.82
8.0.90.0000.00716.64
8.0.80.0130.00416.83
8.0.70.0030.00516.75
8.0.60.0000.00716.69
8.0.50.0040.00416.67
8.0.30.0130.00316.73
8.0.20.0080.01116.63
8.0.10.0040.01616.83
8.0.00.0060.01316.99
7.4.330.0020.00215.55
7.4.320.0030.00316.38
7.4.300.0060.00016.36
7.4.290.0080.00016.40
7.4.280.0110.00016.38
7.4.270.0040.00316.41
7.4.260.0030.00313.16
7.4.250.0000.00816.28
7.4.240.0050.00216.36
7.4.230.0040.00416.44
7.4.220.0030.00416.55
7.4.210.0060.01016.45
7.4.200.0070.00016.36
7.4.150.0090.00916.39
7.4.140.0080.01216.14
7.4.130.0140.00416.10
7.4.120.0160.00916.34
7.4.110.0160.00016.26
7.4.100.0090.00916.29
7.4.90.0070.01115.82
7.4.80.0150.00716.07
7.4.70.0060.01216.25
7.4.60.0180.00816.41
7.4.50.0240.01716.20
7.4.40.0030.01716.00
7.4.30.0140.00815.79
7.4.20.0180.00616.04
7.4.10.0190.00616.46
7.4.00.0170.00015.87
7.3.330.0090.00016.17
7.3.320.0000.00512.95
7.3.310.0000.00716.02
7.3.300.0040.00416.04
7.3.290.0060.00816.13
7.3.270.0140.00616.10
7.3.260.0110.00816.11
7.3.250.0120.01116.40
7.3.240.0060.01516.22
7.3.230.0030.01516.15
7.3.220.0120.00916.23
7.3.210.0070.01016.09
7.3.200.0090.01116.16
7.3.190.0040.01416.13
7.3.180.0150.00716.29
7.3.170.0060.01315.95
7.3.160.0100.01316.26
7.3.150.0150.00716.12
7.3.140.0120.00616.13
7.3.130.0120.00616.08
7.3.120.0170.00016.09
7.3.110.0110.00616.03
7.3.100.0140.00416.14
7.3.90.0130.01116.23
7.3.80.0130.01015.98
7.3.70.0100.01016.13
7.3.60.0080.00816.13
7.3.50.0170.00016.13
7.3.40.0140.00316.21
7.3.30.0160.00316.37
7.3.20.0040.01516.40
7.3.10.0110.00815.98
7.3.00.0110.00716.27

preferences:
50.47 ms | 400 KiB | 5 Q