3v4l.org

run code in 300+ PHP versions simultaneously
<?php function control($f) { $f(); } control(function() {echo 'Hello World!';});

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.1.70.0030.00317.34
8.1.60.0050.00317.57
8.1.50.0000.00717.49
8.1.40.0060.00317.48
8.1.30.0040.00417.59
8.1.20.0050.00317.65
8.1.10.0000.00717.56
8.1.00.0040.00417.34
8.0.200.0070.00016.95
8.0.190.0040.00416.88
8.0.180.0030.00516.88
8.0.170.0040.00416.91
8.0.160.0000.00716.82
8.0.150.0000.00716.88
8.0.140.0050.00316.77
8.0.130.0030.00313.31
8.0.120.0040.00416.88
8.0.110.0070.00016.94
8.0.100.0000.00716.80
8.0.90.0040.00416.84
8.0.80.0100.01016.84
8.0.70.0030.00516.75
8.0.60.0080.00016.93
8.0.50.0020.00516.95
8.0.30.0090.01017.00
8.0.20.0120.00917.40
8.0.10.0000.00716.96
8.0.00.0120.00516.80
7.4.300.0070.00016.64
7.4.290.0070.00016.53
7.4.280.0000.00716.59
7.4.270.0040.00416.50
7.4.260.0070.00016.57
7.4.250.0070.00016.54
7.4.240.0040.00416.52
7.4.230.0000.00716.40
7.4.220.0040.00416.30
7.4.210.0070.00716.58
7.4.200.0030.00316.61
7.4.160.0080.00816.53
7.4.140.0120.00717.86
7.4.130.0090.00916.36
7.4.120.0110.00716.46
7.4.110.0090.00616.44
7.4.100.0160.00316.49
7.4.90.0100.00716.38
7.4.80.0110.00719.39
7.4.70.0060.01016.52
7.4.60.0050.01316.59
7.4.50.0070.01016.39
7.4.40.0100.01316.39
7.4.00.0040.00814.95
7.3.330.0050.00013.30
7.3.320.0030.00313.23
7.3.310.0030.00316.26
7.3.300.0000.00716.18
7.3.290.0000.00716.18
7.3.280.0070.01216.20
7.3.260.0090.00916.36
7.3.240.0130.00616.31
7.3.230.0110.00716.36
7.3.210.0090.00916.42
7.3.200.0150.00916.14
7.3.190.0130.00316.34
7.3.180.0040.01216.29
7.3.170.0150.00316.42
7.3.160.0000.01716.46
7.3.10.0080.00516.54
7.3.00.0090.00216.56
7.2.330.0170.00716.45
7.2.320.0140.00416.68
7.2.310.0110.01116.73
7.2.300.0090.00916.45
7.2.290.0110.00616.36
7.2.130.0100.00316.73
7.2.120.0090.00516.70
7.2.110.0100.00916.60
7.2.100.0070.00716.71
7.2.90.0160.01116.09
7.2.80.0170.00915.97
7.2.70.0260.00815.93
7.2.60.0150.00616.01
7.2.50.0280.00616.11
7.2.40.0310.00516.17
7.2.30.0260.01016.21
7.2.20.0240.01016.25
7.2.10.0230.01116.01
7.2.00.0220.00516.12
7.1.250.0050.01015.53
7.1.240.0100.00315.61
7.1.230.0030.01015.34
7.1.220.0030.00715.64
7.1.210.0200.01014.58
7.1.200.0200.00914.57
7.1.190.0320.00814.35
7.1.180.0300.00914.67
7.1.170.0370.01214.70
7.1.160.0790.00914.63
7.1.150.0330.00514.69
7.1.140.0240.00814.64
7.1.130.0290.00814.77
7.1.120.0230.01214.57
7.1.110.0300.00814.60
7.1.100.0320.00514.56
7.1.90.0270.00514.63
7.1.80.0270.00614.54
7.1.70.0330.01014.62
7.1.60.0350.01023.63
7.1.50.0310.01123.76
7.1.40.0350.00723.79
7.1.30.0350.00723.68
7.1.20.0400.01023.53
7.1.10.0280.00514.78
7.1.00.0240.00414.47
7.0.330.0000.01414.98
5.6.380.0040.00813.68

preferences:
10.75 ms | 406 KiB | 5 Q