3v4l.org

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

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.01019.53
8.5.20.0110.00720.16
8.5.10.0100.00816.88
8.5.00.0100.01120.13
8.4.180.0140.00819.63
8.4.170.0140.00720.41
8.4.160.0110.01023.80
8.4.150.0090.00316.76
8.4.140.0130.01017.47
8.4.130.0090.00818.56
8.4.120.0100.00924.20
8.4.110.0100.00918.52
8.4.100.0120.00718.91
8.4.90.0050.00518.76
8.4.80.0040.00418.71
8.4.70.0120.01018.13
8.4.60.0120.00818.79
8.4.50.0120.00918.59
8.4.40.0100.00717.64
8.4.30.0150.00420.45
8.4.20.0080.01121.36
8.4.10.0060.00319.39
8.3.300.0120.00820.82
8.3.290.0100.01020.88
8.3.280.0130.00620.61
8.3.270.0110.01016.86
8.3.260.0090.01016.41
8.3.250.0120.00618.92
8.3.240.0120.00717.36
8.3.230.0090.01017.27
8.3.220.0080.00918.95
8.3.210.0150.00516.63
8.3.200.0040.00516.67
8.3.190.0130.00517.19
8.3.180.0070.01018.99
8.3.170.0150.00317.32
8.3.160.0140.00320.68
8.3.150.0070.01117.23
8.3.140.0040.00416.56
8.3.130.0430.00016.30
8.3.120.0350.00716.28
8.3.110.0320.01316.52
8.3.100.0370.00716.26
8.3.90.0380.00816.29
8.3.80.0420.00416.18
8.3.70.0360.00716.34
8.3.60.0330.01416.18
8.3.50.0390.01116.55
8.3.40.0270.01516.95
8.3.30.0270.01417.10
8.3.20.0280.01217.21
8.3.10.0230.01317.34
8.3.00.0190.00817.19
8.2.300.0090.01022.17
8.2.290.0030.00420.46
8.2.280.0150.00418.12
8.2.270.0110.01116.79
8.2.260.0040.01117.10
8.2.250.0240.01016.36
8.2.240.0220.00316.35
8.2.230.0170.00416.18
8.2.220.0280.00816.18
8.2.210.0300.00816.18
8.2.200.0290.00916.58
8.2.190.0270.01216.58
8.2.180.0370.00016.39
8.2.170.0320.00817.41
8.2.160.0370.00317.76
8.2.150.0300.01117.45
8.2.140.0320.01017.57
8.2.130.0360.00417.52
8.2.120.0380.00317.50
8.2.110.0340.00817.63
8.2.100.0270.00817.42
8.2.90.0220.01017.71
8.2.80.0250.00917.32
8.2.70.0400.00017.34
8.2.60.0180.02117.63
8.2.50.0360.00017.30
8.2.40.0330.01117.57
8.2.30.0480.00017.34
8.2.20.0190.01517.57
8.2.10.0210.00917.28
8.2.00.0190.01217.32
8.1.340.0080.01221.74
8.1.330.0070.00322.07
8.1.320.0110.00916.13
8.1.310.0030.00616.59
8.1.300.0280.00716.18
8.1.290.0330.00316.18
8.1.280.0320.00416.18
8.1.270.0270.00717.24
8.1.260.0200.00717.64
8.1.250.0290.00417.44
8.1.240.0320.00616.89
8.1.230.0300.00617.34
8.1.220.0320.00417.43
8.1.210.0330.00317.18
8.1.200.0250.01117.23
8.1.190.0160.01317.03
8.1.180.0240.00617.23
8.1.170.0310.01016.79
8.1.160.0250.01317.16
8.1.150.0280.00617.16
8.1.140.0310.00416.85
8.1.130.0270.00817.13
8.1.120.0350.00017.16
8.1.110.0220.01317.27
8.1.100.0290.00617.20
8.1.90.0200.01517.14
8.1.80.0310.00417.15
8.1.70.0260.00917.08
8.1.60.0320.00617.50
8.1.50.0310.00717.38
8.1.40.0450.00617.32
8.1.30.0270.01217.36
8.1.20.0350.00317.34
8.1.10.0230.01217.25
8.1.00.0320.00017.27

preferences:
49.49 ms | 993 KiB | 5 Q