3v4l.org

run code in 300+ PHP versions simultaneously
<?php $header = 'Custom-Header: foo:bar:baz'; list($key, $value) = \explode(':', $header, 2); var_dump( $key, trim($value), );

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.110.0120.00320.94
8.3.100.0060.00316.66
8.3.90.0080.00026.77
8.3.80.0060.00317.97
8.3.70.0040.01118.03
8.3.60.0040.01416.63
8.3.50.0100.01316.43
8.3.40.0060.00921.89
8.3.30.0100.00719.34
8.3.20.0050.00324.18
8.3.10.0000.00824.66
8.3.00.0000.00726.16
8.2.230.0040.00422.58
8.2.220.0080.00016.47
8.2.210.0000.00826.77
8.2.200.0090.00016.75
8.2.190.0000.01516.58
8.2.180.0100.01316.63
8.2.170.0100.01019.13
8.2.160.0150.00022.96
8.2.150.0000.00825.66
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0060.00319.36
8.2.110.0090.01222.10
8.2.100.0160.00620.66
8.2.90.0060.00920.69
8.2.80.0030.00620.51
8.2.70.0160.00620.30
8.2.60.0060.00320.53
8.2.50.0100.01320.32
8.2.40.0070.00318.69
8.2.30.0030.00618.66
8.2.20.0090.01218.57
8.2.10.0060.00318.68
8.2.00.0030.00718.65
8.1.290.0040.00730.84
8.1.280.0070.01125.92
8.1.270.0070.00024.66
8.1.260.0030.00526.35
8.1.250.0080.00028.09
8.1.240.0070.00318.48
8.1.230.0030.00718.57
8.1.220.0060.00318.57
8.1.210.0100.01419.76
8.1.200.0070.01418.48
8.1.190.0070.00318.27
8.1.180.0030.00618.32
8.1.170.0120.00918.52
8.1.160.0070.01418.44
8.1.150.0100.00718.55
8.1.140.0070.00318.35
8.1.130.0160.00618.54
8.1.120.0070.01118.50
8.1.110.0130.01018.55
8.1.100.0130.00318.42
8.1.90.0070.00418.50
8.1.80.0030.00718.37
8.1.70.0040.00718.38
8.1.60.0040.00718.54
8.1.50.0110.00718.55
8.1.40.0120.00618.63
8.1.30.0100.00018.61
8.1.20.0110.00718.63
8.1.10.0070.00318.61
8.1.00.0140.00320.52
8.0.300.0090.00017.84
8.0.290.0090.00017.70
8.0.280.0030.00717.82
8.0.270.0070.01017.74
8.0.260.0060.00317.87
8.0.250.0100.01017.68
8.0.240.0060.00317.90
8.0.230.0060.00317.79
8.0.220.0150.00617.58
8.0.210.0070.00319.64
8.0.200.0030.00617.79
8.0.190.0060.00317.84
8.0.180.0140.00717.71
8.0.170.0070.00317.75
8.0.160.0070.00417.93
8.0.150.0050.00517.79
8.0.140.0140.00717.75
8.0.130.0060.00317.87
8.0.120.0050.00517.81
8.0.110.0040.01617.84
8.0.100.0100.01017.75
8.0.90.0070.01317.77
8.0.80.0140.00317.94
8.0.70.0130.00317.75
8.0.60.0070.00717.75
8.0.50.0000.00817.74
8.0.30.0070.00317.88
8.0.20.0090.00017.93
8.0.10.0160.00317.78

preferences:
28.51 ms | 403 KiB | 5 Q