3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ ['C28', 'C29'], ['1AB010050093', '1AB008140029'], ]; var_export( array_map( fn($ref, $part) => get_defined_vars(), ...$array ) );

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.5.30.0070.01119.64
8.5.20.0100.00719.92
8.5.10.0130.00516.51
8.5.00.0130.00820.14
8.4.180.0130.00919.71
8.4.170.0090.01123.63
8.4.160.0120.01023.99
8.4.150.0080.00416.81
8.4.140.0130.01017.72
8.4.130.0120.00519.53
8.4.120.0140.00420.63
8.4.110.0070.00622.27
8.4.100.0050.01117.54
8.4.90.0100.01022.34
8.4.80.0050.00417.83
8.4.70.0080.00118.01
8.4.60.0050.00319.04
8.4.50.0110.00824.08
8.4.40.0110.01117.61
8.4.30.0070.01420.28
8.4.20.0180.00421.25
8.4.10.0090.00019.48
8.3.300.0110.00820.83
8.3.290.0130.01118.32
8.3.280.0120.00818.32
8.3.270.0170.00616.72
8.3.260.0110.01016.40
8.3.250.0130.00618.68
8.3.240.0130.00716.66
8.3.230.0080.00216.53
8.3.220.0070.00719.11
8.3.210.0120.00316.73
8.3.200.0050.00416.55
8.3.190.0130.00617.16
8.3.180.0130.00516.25
8.3.170.0070.01117.23
8.3.160.0110.00320.50
8.3.150.0070.01117.04
8.3.140.0030.00516.54
8.3.130.0330.00716.71
8.3.120.0400.00016.42
8.3.110.0330.00816.61
8.3.100.0340.01116.32
8.3.90.0360.01016.74
8.3.80.0470.00016.59
8.3.70.0300.01016.49
8.3.60.0300.00916.61
8.3.50.0310.01216.66
8.3.40.0250.01117.21
8.3.30.0290.01017.02
8.3.20.0370.00317.05
8.3.10.0300.00317.45
8.3.00.0210.01217.16
8.2.300.0110.00818.82
8.2.290.0100.00920.40
8.2.280.0110.00718.43
8.2.270.0120.00616.48
8.2.260.0110.00417.13
8.2.250.0330.00016.24
8.2.240.0230.00316.57
8.2.230.0250.01316.31
8.2.220.0330.00616.18
8.2.210.0320.00616.28
8.2.200.0350.00316.33
8.2.190.0300.00816.50
8.2.180.0360.00316.29
8.2.170.0380.00717.25
8.2.160.0260.01317.52
8.2.150.0340.00317.49
8.2.140.0300.00717.57
8.2.130.0290.00717.38
8.2.120.0280.01417.51
8.2.110.0310.00617.77
8.2.100.0290.01017.36
8.2.90.0350.00317.53
8.2.80.0330.00617.38
8.2.70.0270.01217.46
8.2.60.0310.00817.30
8.2.50.0260.01317.44
8.2.40.0270.00917.59
8.2.30.0290.00717.46
8.2.20.0290.00317.39
8.2.10.0350.01217.29
8.2.00.0250.01417.55
8.1.340.0110.00817.57
8.1.330.0100.00522.24
8.1.320.0140.00816.06
8.1.310.0140.00316.57
8.1.300.0290.01316.18
8.1.290.0310.00616.18
8.1.280.0170.00916.18
8.1.270.0160.00317.29
8.1.260.0160.00917.58
8.1.250.0340.00617.23
8.1.240.0240.01217.21
8.1.230.0320.00317.43
8.1.220.0260.01017.52
8.1.210.0250.01117.28
8.1.200.0190.01517.26
8.1.190.0300.00617.14
8.1.180.0290.00617.31
8.1.170.0170.01516.88
8.1.160.0260.01016.76
8.1.150.0350.00816.75
8.1.140.0230.00917.06
8.1.130.0310.00317.13
8.1.120.0290.00617.40
8.1.110.0220.01017.06
8.1.100.0290.00617.43
8.1.90.0220.01317.17
8.1.80.0250.00817.07
8.1.70.0200.01417.22
8.1.60.0280.00317.24
8.1.50.0210.01217.23
8.1.40.0200.01317.36
8.1.30.0320.00617.48
8.1.20.0530.01217.21
8.1.10.0250.01117.02
8.1.00.0310.00616.75

preferences:
73.46 ms | 993 KiB | 5 Q