3v4l.org

run code in 300+ PHP versions simultaneously
<?php $toks = [ '(?=\D*\d)', '\b(waiting)\b', '^(\w+)', '\b(response)\b', '\b(from)\b', '\|', '\b(to)\b', ]; $patterns_flattened = implode('|', $toks); if (preg_match_all("/$patterns_flattened/i", "I'm waiting for a response from", $matches)) { print_r($matches[0]); }

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.0040.01418.30
8.3.50.0110.00418.11
8.3.40.0120.00318.90
8.3.30.0040.01118.91
8.3.20.0070.00019.21
8.3.10.0040.00421.90
8.3.00.0030.00520.78
8.2.180.0090.00918.50
8.2.170.0040.01119.13
8.2.160.0070.00722.96
8.2.150.0080.00024.18
8.2.140.0000.00824.66
8.2.130.0040.00419.89
8.2.120.0040.00426.35
8.2.110.0060.00320.98
8.2.100.0080.00417.97
8.2.90.0090.00018.00
8.2.80.0040.00418.05
8.2.70.0030.00518.05
8.2.60.0000.00818.16
8.2.50.0080.00018.10
8.2.40.0030.00519.47
8.2.30.0020.00519.40
8.2.20.0000.00918.23
8.2.10.0030.00618.21
8.2.00.0030.00518.01
8.1.280.0110.00725.92
8.1.270.0040.00418.83
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0040.00423.84
8.1.230.0090.00322.75
8.1.220.0000.00817.79
8.1.210.0080.00018.77
8.1.200.0020.01017.35
8.1.190.0080.00017.36
8.1.180.0030.00618.10
8.1.170.0000.00818.54
8.1.160.0040.00418.86
8.1.150.0050.00318.78
8.1.140.0070.00022.10
8.1.130.0000.00720.18
8.1.120.0000.00817.53
8.1.110.0000.00817.60
8.1.100.0030.00717.52
8.1.90.0000.00717.57
8.1.80.0050.00317.63
8.1.70.0050.00317.55
8.1.60.0040.00417.68
8.1.50.0040.00417.50
8.1.40.0040.00417.68
8.1.30.0030.00617.67
8.1.20.0020.00517.73
8.1.10.0040.00417.64
8.1.00.0040.00417.71
8.0.300.0050.00219.89
8.0.290.0050.00317.00
8.0.280.0000.00718.34
8.0.270.0050.00317.27
8.0.260.0000.00718.55
8.0.250.0000.00917.15
8.0.240.0000.00817.04
8.0.230.0000.00717.11
8.0.220.0000.01017.04
8.0.210.0030.00316.98
8.0.200.0030.00317.10
8.0.190.0040.00417.12
8.0.180.0000.00716.97
8.0.170.0000.00817.14
8.0.160.0070.00017.12
8.0.150.0040.00416.89
8.0.140.0050.00316.93
8.0.130.0000.00513.45
8.0.120.0000.00816.92
8.0.110.0040.00416.97
8.0.100.0000.00716.88
8.0.90.0040.00417.05
8.0.80.0060.01216.97
8.0.70.0000.00817.07
8.0.60.0040.00417.03
8.0.50.0040.00417.00
8.0.30.0090.01017.07
8.0.20.0080.01317.40
8.0.10.0040.00417.18
8.0.00.0040.01616.87
7.4.330.0020.00215.55
7.4.320.0040.00416.57
7.4.300.0040.00416.66
7.4.290.0030.00316.67
7.4.280.0030.00616.65
7.4.270.0070.00016.76
7.4.260.0040.00416.63
7.4.250.0000.00716.73
7.4.240.0000.00816.83
7.4.230.0000.00716.57
7.4.220.0030.00516.67
7.4.210.0120.00316.75
7.4.200.0030.00316.58
7.4.160.0110.00816.71
7.4.140.0090.01117.86
7.4.130.0130.00816.57
7.4.120.0070.01016.72
7.4.110.0150.00916.63
7.4.100.0150.00616.68
7.4.90.0070.01016.48
7.4.80.0100.01419.39
7.4.70.0100.00716.72
7.4.60.0060.00916.75
7.4.50.0050.00816.59
7.4.40.0110.01216.63
7.4.00.0060.01215.12
7.3.330.0000.00613.24
7.3.320.0030.00313.20
7.3.310.0030.00316.18
7.3.300.0000.00716.41
7.3.290.0000.00716.32
7.3.280.0060.00916.39
7.3.260.0110.00816.43
7.3.240.0120.00616.62
7.3.230.0120.00616.35
7.3.210.0140.00316.94
7.3.200.0120.00916.52
7.3.190.0090.00916.76
7.3.180.0090.00916.49
7.3.170.0060.01016.44
7.3.160.0100.00716.85
7.2.330.0100.00916.67
7.2.320.0100.00716.93
7.2.310.0110.01116.71
7.2.300.0070.01016.61
7.2.290.0150.00416.76
7.2.110.0400.01014.56
7.2.100.0430.01014.64
7.2.90.0230.00614.71
7.2.80.0250.00614.96
7.2.70.0250.00815.35
7.2.60.0320.00715.03
7.2.50.0490.00815.28
7.2.40.0350.00815.32
7.2.30.0290.00815.24
7.2.20.0300.00714.92
7.2.10.0280.00815.06
7.2.00.0590.00715.28
7.1.230.0410.00814.02
7.1.220.0380.01013.96
7.1.210.0310.00413.90
7.1.200.0460.00914.09
7.1.190.0220.00913.97
7.1.180.0260.00514.01
7.1.170.0370.00514.11
7.1.160.0290.00914.02
7.1.150.0570.00614.01
7.1.140.0280.00514.15
7.1.130.0560.00713.98
7.1.120.0730.00913.94
7.1.110.0710.00714.07
7.1.100.0620.01113.91
7.1.90.0600.00813.92
7.1.80.0570.00713.86
7.1.70.0600.00814.03
7.1.60.0700.01132.01
7.1.50.0840.01431.95
7.1.40.1050.01232.01
7.1.30.1070.00832.11
7.1.20.1090.01032.01
7.1.10.0870.00713.78
7.1.00.0630.00713.81
5.6.380.0050.01214.32

preferences:
57.1 ms | 401 KiB | 5 Q