3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "Cookie: PDAuth=123asd4fsd2hgg3jk4jkl55l"; preg_match("/PDAuth=.*$/", $string, $match); print_r($match);

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.0070.00716.38
8.3.50.0090.00921.96
8.3.40.0110.00418.92
8.3.30.0110.00418.85
8.3.20.0040.00418.91
8.3.10.0070.00021.48
8.3.00.0000.00821.61
8.2.180.0100.01016.75
8.2.170.0150.00322.96
8.2.160.0070.00722.23
8.2.150.0060.00324.18
8.2.140.0050.00224.66
8.2.130.0070.00019.77
8.2.120.0000.00726.35
8.2.110.0060.00320.35
8.2.100.0060.00617.91
8.2.90.0080.00019.23
8.2.80.0000.00817.97
8.2.70.0000.00817.75
8.2.60.0040.00817.91
8.2.50.0030.00518.10
8.2.40.0080.00020.39
8.2.30.0040.00419.21
8.2.20.0040.00418.11
8.2.10.0000.00818.07
8.2.00.0040.00417.75
8.1.280.0100.01425.92
8.1.270.0040.00422.06
8.1.260.0040.00428.09
8.1.250.0080.00028.09
8.1.240.0090.00023.98
8.1.230.0040.00820.42
8.1.220.0000.00817.74
8.1.210.0080.00018.77
8.1.200.0030.00617.23
8.1.190.0000.00817.23
8.1.180.0050.00318.10
8.1.170.0040.00418.58
8.1.160.0040.00418.90
8.1.150.0050.00322.04
8.1.140.0000.00819.60
8.1.130.0040.00417.61
8.1.120.0040.00417.59
8.1.110.0040.00417.52
8.1.100.0000.00817.54
8.1.90.0000.00717.43
8.1.80.0000.00817.46
8.1.70.0000.00717.52
8.1.60.0000.00717.73
8.1.50.0000.00917.65
8.1.40.0050.00317.63
8.1.30.0100.00317.58
8.1.20.0000.00817.73
8.1.10.0030.00617.66
8.1.00.0000.00817.60
8.0.300.0070.00418.77
8.0.290.0040.00416.75
8.0.280.0060.00318.39
8.0.270.0020.00517.09
8.0.260.0000.00617.22
8.0.250.0030.00316.93
8.0.240.0000.00917.01
8.0.230.0070.00017.05
8.0.220.0000.00616.89
8.0.210.0070.00016.86
8.0.200.0040.00717.09
8.0.190.0040.00716.92
8.0.180.0040.00416.88
8.0.170.0070.00316.95
8.0.160.0000.00816.85
8.0.150.0030.00316.80
8.0.140.0030.00516.95
8.0.130.0060.00013.43
8.0.120.0030.00516.91
8.0.110.0050.00216.92
8.0.100.0070.00016.93
8.0.90.0000.00717.08
8.0.80.0130.00616.94
8.0.70.0000.00716.79
8.0.60.0020.00516.97
8.0.50.0000.00816.93
8.0.30.0070.00917.13
8.0.20.0110.00817.40
8.0.10.0040.00417.15
8.0.00.0150.00416.80
7.4.330.0000.00515.55
7.4.320.0060.00016.65
7.4.300.0070.00016.59
7.4.290.0040.00416.64
7.4.280.0030.00616.70
7.4.270.0080.00016.77
7.4.260.0030.00316.64
7.4.250.0060.00316.70
7.4.240.0070.00016.67
7.4.230.0030.00316.64
7.4.220.0110.00916.68
7.4.210.0030.01616.77
7.4.200.0070.00016.70
7.4.160.0060.01516.51
7.4.150.0130.00317.40
7.4.140.0100.00717.86
7.4.130.0110.00716.63
7.4.120.0100.00716.62
7.4.110.0100.00716.84
7.4.100.0090.00916.54
7.4.90.0060.01216.62
7.4.80.0130.00319.39
7.4.70.0090.01216.58
7.4.60.0100.00616.55
7.4.50.0030.01316.45
7.4.40.0080.00816.48
7.4.30.0060.01216.52
7.4.00.0090.00314.97
7.3.330.0060.00013.21
7.3.320.0020.00613.03
7.3.310.0000.00716.32
7.3.300.0030.00316.27
7.3.290.0080.00816.28
7.3.280.0090.00816.28
7.3.270.0070.01017.40
7.3.260.0120.00916.26
7.3.250.0060.01016.46
7.3.240.0090.01016.49
7.3.230.0100.01016.39
7.3.210.0140.00616.20
7.3.200.0100.00716.63
7.3.190.0140.00416.23
7.3.180.0080.01116.15
7.3.170.0100.00716.52
7.3.160.0120.00316.39
7.3.10.0040.00816.73
7.3.00.0060.00616.82
7.2.330.0070.01016.49
7.2.320.0030.01316.58
7.2.310.0090.00616.58
7.2.300.0060.01116.50
7.2.290.0100.00616.48
7.2.130.0030.01416.91
7.2.120.0120.00316.79
7.2.110.0030.00817.05
7.2.100.0040.01116.95
7.2.90.0000.01516.89
7.2.80.0070.00716.89
7.2.70.0070.00717.07
7.2.60.0030.01016.92
7.2.50.0090.00616.80
7.2.40.0030.00916.97
7.2.30.0040.01117.01
7.2.20.0000.01016.81
7.2.10.0070.00716.98
7.2.00.0060.00818.06
7.1.250.0110.00415.86
7.1.70.0100.00017.01
7.1.60.0060.00617.48
7.1.00.0070.05022.45
7.0.200.0070.00316.71
7.0.120.0130.05322.10
7.0.110.0030.06322.03
7.0.100.0070.05722.13
7.0.90.0100.06022.11
7.0.80.0030.06322.07
7.0.70.0030.09022.04
7.0.60.0100.07722.07
7.0.50.0170.06022.13
7.0.40.0100.07322.21
7.0.30.0000.06322.05
7.0.20.0070.06022.05
7.0.10.0070.05722.04
7.0.00.0200.04722.08
5.6.270.0130.06321.05
5.6.260.0070.05721.13
5.6.250.0130.05321.09
5.6.240.0100.05720.83
5.6.230.0030.07320.98
5.6.220.0130.06320.86
5.6.210.0200.05720.95
5.6.200.0070.06320.99
5.6.190.0170.05720.85
5.6.180.0130.05720.80
5.6.170.0070.05721.00
5.6.160.0030.06321.08
5.6.150.0030.06721.00
5.6.140.0100.05721.08
5.6.130.0230.04720.82
5.6.120.0100.05721.00
5.6.110.0030.07320.79
5.6.100.0030.06320.91
5.6.90.0030.06021.06
5.6.80.0100.05720.14
5.6.70.0070.06720.39
5.6.60.0070.05720.39
5.6.50.0030.06020.18
5.6.40.0100.05320.36
5.6.30.0000.06020.32
5.6.20.0000.06320.41
5.6.10.0070.05320.29
5.6.00.0000.06020.16

preferences:
36.4 ms | 401 KiB | 5 Q