3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); readline_completion_function(function() { static $data = array( 'sixteencharacter', // or longer '1', '2', '3', '4', '5', ); var_dump($data); return $data; }); readline();

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.0110.00716.74
8.3.50.0050.01421.20
8.3.40.0100.01018.84
8.3.30.0030.01018.85
8.3.20.0070.00020.16
8.3.10.0080.00023.71
8.3.00.0070.00023.53
8.2.180.0150.00418.64
8.2.170.0150.00322.96
8.2.160.0070.01020.47
8.2.150.0040.01124.18
8.2.140.0000.00824.66
8.2.130.0060.00320.95
8.2.120.0030.00626.35
8.2.110.0080.00022.08
8.2.100.0080.00417.80
8.2.90.0060.00319.09
8.2.80.0030.00517.97
8.2.70.0080.00017.50
8.2.60.0040.00717.93
8.2.50.0080.00018.07
8.2.40.0090.00022.32
8.2.30.0060.00320.73
8.2.20.0040.00417.67
8.2.10.0000.00718.07
8.2.00.0000.00718.04
8.1.280.0100.01025.92
8.1.270.0030.00523.99
8.1.260.0080.00028.09
8.1.250.0060.00328.09
8.1.240.0030.00624.01
8.1.230.0080.00618.95
8.1.220.0040.00417.74
8.1.210.0060.00318.77
8.1.200.0090.00017.23
8.1.190.0040.00417.10
8.1.180.0050.00318.10
8.1.170.0030.00618.59
8.1.160.0050.00220.63
8.1.150.0000.00818.68
8.1.140.0050.00319.34
8.1.130.0000.00717.61
8.1.120.0040.00417.35
8.1.110.0030.00617.36
8.1.100.0080.00017.22
8.1.90.0000.00717.24
8.1.80.0020.00517.36
8.1.70.0000.00817.32
8.1.60.0070.00317.43
8.1.50.0030.00517.38
8.1.40.0030.00517.39
8.1.30.0040.00417.43
8.1.20.0050.00217.62
8.1.10.0000.00817.48
8.1.00.0000.00917.40
8.0.300.0000.00818.77
8.0.290.0020.00516.75
8.0.280.0070.00018.29
8.0.270.0050.00317.18
8.0.260.0030.00317.16
8.0.250.0000.00816.95
8.0.240.0000.00716.86
8.0.230.0000.00816.91
8.0.220.0030.00416.93
8.0.210.0000.00816.77
8.0.200.0000.00616.83
8.0.190.0000.00816.84
8.0.180.0040.00416.91
8.0.170.0000.00716.91
8.0.160.0060.00316.95
8.0.150.0040.00416.86
8.0.140.0000.00716.73
8.0.130.0000.00613.27
8.0.120.0030.00616.77
8.0.110.0000.00816.95
8.0.100.0050.00216.85
8.0.90.0000.00816.76
8.0.80.0000.01516.88
8.0.70.0030.00516.98
8.0.60.0040.00416.89
8.0.50.0040.00416.88
8.0.30.0050.01416.91
8.0.20.0090.00917.40
8.0.10.0000.00716.86
8.0.00.0120.00916.68
7.4.330.0000.00516.77
7.4.320.0030.00316.27
7.4.300.0060.00016.34
7.4.290.0040.00416.29
7.4.280.0090.00016.38
7.4.270.0060.00016.39
7.4.260.0050.00316.39
7.4.250.0000.00816.47
7.4.240.0000.00716.38
7.4.230.0000.00716.63
7.4.220.0140.00316.57
7.4.210.0000.01416.48
7.4.200.0040.00416.46
7.4.160.0040.01216.48
7.4.150.0180.00317.40
7.4.140.0110.00717.86
7.4.130.0100.01016.44
7.4.120.0140.00616.49
7.4.110.0070.01116.50
7.4.100.0100.00716.67
7.4.90.0040.01416.37
7.4.80.0080.00819.39
7.4.70.0100.00616.38
7.4.60.0100.00716.51
7.4.50.0000.01616.43
7.4.40.0120.00316.38
7.4.30.0100.01016.58
7.4.00.0130.00314.78
7.3.330.0000.00513.19
7.3.320.0000.00613.08
7.3.310.0060.00316.32
7.3.300.0030.00316.34
7.3.290.0050.00916.29
7.3.280.0100.00716.28
7.3.270.0060.01217.40
7.3.260.0100.01316.32
7.3.250.0130.00716.25
7.3.240.0100.01016.28
7.3.230.0060.00916.39
7.3.210.0120.00416.39
7.3.200.0180.00016.30
7.3.190.0080.00816.34
7.3.180.0090.00616.20
7.3.170.0060.01616.27
7.3.160.0120.00316.43
7.2.330.0070.01716.61
7.2.320.0090.01316.51
7.2.310.0070.01016.29
7.2.300.0060.01216.30
7.2.290.0130.00916.29
7.2.60.0100.00316.90
7.2.00.0060.01018.99
7.1.200.0040.00715.64
7.1.100.0040.01118.05
7.1.70.0040.01117.11
7.1.60.0170.00719.52
7.1.50.0070.01417.00
7.1.00.0070.07322.30
7.0.200.0000.01016.67
7.0.60.0170.07019.92
7.0.50.0070.08017.72
7.0.40.0070.04320.26
7.0.30.0230.06720.21
7.0.20.0330.06320.19
7.0.10.0070.05020.19
7.0.00.0030.08320.18
5.6.280.0030.07321.13
5.6.210.0200.07020.55
5.6.200.0030.04318.29
5.6.190.0030.04320.60
5.6.180.0200.05020.57
5.6.170.0400.06320.43
5.6.160.0070.03720.57
5.6.150.0100.07718.18
5.6.140.0100.06718.17
5.6.130.0030.04018.14
5.6.120.0170.05320.98
5.6.110.0000.09321.00
5.6.100.0070.05020.96
5.6.90.0070.08020.88
5.6.80.0070.07020.36
5.5.350.4200.04020.44
5.5.340.0030.03718.08
5.5.330.0030.04720.25
5.5.320.0230.03720.30
5.5.310.0170.04020.28
5.5.300.0070.07017.95
5.5.290.0070.06717.97
5.5.280.0070.05020.94
5.5.270.0100.06320.80
5.5.260.0030.05320.82
5.5.250.0000.04320.58
5.5.240.0170.07720.04

preferences:
56.34 ms | 401 KiB | 5 Q