3v4l.org

run code in 500+ PHP versions simultaneously
<?php $savePath = 'tls://127.0.0.1:6379?auth=password&timeout=2.5'; $tryMatch = preg_match('#(?:(^.*)://)?([^:?]+)(?:\:(\d+))?(\?.+)?#', $savePath, $matches); var_dump($matches);

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.70.0080.01016.96
8.5.60.0140.00616.76
8.5.50.0080.01016.90
8.5.30.0070.01121.34
8.5.20.0100.00719.39
8.5.10.0090.01121.96
8.5.00.0090.01320.30
8.4.220.0110.01119.55
8.4.210.0120.00619.61
8.4.180.0140.01119.69
8.4.170.0080.01323.84
8.4.160.0140.01023.98
8.4.150.0080.00516.92
8.4.140.0110.01017.50
8.4.130.0130.00918.10
8.4.120.0150.00620.35
8.4.110.0120.00718.54
8.4.100.0140.00717.92
8.4.90.0100.01018.14
8.4.80.0100.00717.91
8.4.70.0070.00217.92
8.4.60.0070.00917.75
8.4.50.0110.00817.84
8.4.40.0100.01019.50
8.4.30.0130.00618.69
8.4.20.0140.00719.81
8.4.10.0100.01023.72
8.3.310.0130.00718.67
8.3.300.0130.00722.90
8.3.290.0130.00820.86
8.3.280.0070.01318.47
8.3.270.0110.00816.36
8.3.260.0140.00616.57
8.3.250.0130.00618.83
8.3.240.0110.00716.48
8.3.230.0060.00516.81
8.3.220.0110.00817.05
8.3.210.0140.00616.61
8.3.200.0120.00816.48
8.3.190.0030.00516.66
8.3.180.0050.00218.42
8.3.170.0090.00618.61
8.3.160.0070.00320.29
8.3.150.0150.00318.59
8.3.140.0030.00518.83
8.3.130.0090.00018.39
8.3.120.0040.00420.76
8.3.110.0090.00018.60
8.3.100.0040.00416.84
8.3.90.0140.00626.77
8.3.80.0110.00318.68
8.3.70.0190.00616.58
8.3.60.0110.00418.18
8.3.50.0180.00616.68
8.3.40.0080.01220.29
8.3.30.0070.00718.44
8.3.20.0090.00024.18
8.3.10.0050.00224.66
8.3.00.0050.00326.16
8.2.300.0090.01118.18
8.2.290.0050.00320.23
8.2.280.0100.00918.70
8.2.270.0170.00318.95
8.2.260.0070.00716.42
8.2.250.0030.00518.55
8.2.240.0030.00617.37
8.2.230.0060.00320.94
8.2.220.0040.00824.06
8.2.210.0040.00426.77
8.2.200.0060.00316.63
8.2.190.0150.00616.63
8.2.180.0110.00725.92
8.2.170.0110.00418.91
8.2.160.0070.00722.96
8.2.150.0090.00025.66
8.2.140.0070.00024.66
8.2.130.0050.00326.16
8.2.120.0050.00326.16
8.2.110.0060.00321.08
8.2.100.0060.00617.97
8.2.90.0060.00319.17
8.2.80.0040.00417.97
8.2.70.0090.00017.75
8.2.60.0060.00317.80
8.2.50.0050.00318.07
8.2.40.0040.00419.95
8.2.30.0000.00818.02
8.2.20.0040.00419.09
8.2.10.0060.00518.04
8.2.00.0060.00818.12
8.1.340.0100.01118.29
8.1.330.0100.00816.45
8.1.320.0090.00916.21
8.1.310.0070.00718.66
8.1.300.0060.00318.18
8.1.290.0060.00330.84
8.1.280.0110.01125.92
8.1.270.0110.00724.66
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0110.00021.16
8.1.230.0060.00619.03
8.1.220.0090.00017.74
8.1.210.0060.00318.77
8.1.200.0070.00417.35
8.1.190.0000.00817.23
8.1.180.0050.00218.10
8.1.170.0070.00018.90
8.1.160.0080.00018.85
8.1.150.0040.00418.74
8.1.140.0080.00418.28
8.1.130.0050.00718.27
8.1.120.0080.00517.88
8.1.110.0040.00817.88
8.1.100.0060.00617.92
8.1.90.0090.00517.88
8.1.80.0060.00617.90
8.1.70.0070.00517.87
8.1.60.0080.00517.99
8.1.50.0130.00217.93
8.1.40.0090.00617.97
8.1.30.0070.00918.03
8.1.20.0090.00518.00
8.1.10.0090.00817.96
8.1.00.0120.00417.84
8.0.300.0070.00018.96
8.0.290.0040.00416.75
8.0.280.0000.00818.35
8.0.270.0080.00717.19
8.0.260.0120.00317.15
8.0.250.0080.00617.22
8.0.240.0050.00817.65
8.0.230.0080.00517.24
8.0.220.0080.00617.56
8.0.210.0100.00417.13
8.0.200.0090.00517.19
8.0.190.0070.00617.26
8.0.180.0100.00517.25
8.0.170.0090.00617.27
8.0.160.0090.00517.19
8.0.150.0120.00317.15
8.0.140.0080.00417.12
8.0.130.0090.00417.16
8.0.120.0090.00517.10
8.0.110.0120.00117.16
8.0.100.0080.00517.13
8.0.90.0090.00317.17
8.0.80.0090.00317.13
8.0.70.0100.00417.16
8.0.60.0100.00417.13
8.0.50.0060.00717.09
8.0.30.0100.00317.14
8.0.20.0090.00417.24
8.0.10.0090.00417.72

preferences:
59.47 ms | 1155 KiB | 5 Q