3v4l.org

run code in 300+ PHP versions simultaneously
<?php $toks = [ '\bwaiting\b', '^\w+', '\bresponse\b', '\bfrom\b', '\|', '\bto\b', ]; $pattern = '/' . implode('|', $toks) . '/i'; var_export(preg_match_all($pattern, "I'm waiting for a response from", $out) ? $out[0] : null);

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.0030.01518.43
8.3.50.0060.00918.49
8.3.40.0080.00819.04
8.3.30.0150.00018.79
8.3.20.0040.00419.20
8.3.10.0050.00521.90
8.3.00.0040.00420.68
8.2.180.0060.00925.92
8.2.170.0110.00722.96
8.2.160.0000.01320.45
8.2.150.0070.00024.18
8.2.140.0000.00824.66
8.2.130.0040.00420.07
8.2.120.0000.00726.35
8.2.110.0040.00420.57
8.2.100.0070.00418.03
8.2.90.0040.00417.98
8.2.80.0060.00317.97
8.2.70.0040.00417.68
8.2.60.0030.00618.16
8.2.50.0040.00418.10
8.2.40.0050.00319.46
8.2.30.0070.00019.40
8.2.20.0000.00718.16
8.2.10.0040.00418.07
8.2.00.0030.00617.77
8.1.280.0140.00425.92
8.1.270.0060.00323.95
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0090.00020.87
8.1.230.0110.00022.14
8.1.220.0000.00817.74
8.1.210.0030.00618.77
8.1.200.0040.00417.48
8.1.190.0030.00617.25
8.1.180.0080.00018.10
8.1.170.0050.00318.77
8.1.160.0050.00218.96
8.1.150.0020.00518.84
8.1.140.0040.00422.17
8.1.130.0030.00320.21
8.1.120.0040.00417.59
8.1.110.0000.00817.60
8.1.100.0000.00717.56
8.1.90.0050.00517.67
8.1.80.0040.00417.53
8.1.70.0050.00217.50
8.1.60.0050.00317.79
8.1.50.0060.00317.66
8.1.40.0040.00417.64
8.1.30.0030.00717.77
8.1.20.0040.00417.79
8.1.10.0000.00717.79
8.1.00.0040.00417.69
8.0.300.0040.00418.77
8.0.290.0040.00716.88
8.0.280.0030.00318.34
8.0.270.0050.00216.84
8.0.260.0060.00018.48
8.0.250.0030.00317.14
8.0.240.0030.00517.15
8.0.230.0070.00017.02
8.0.220.0040.00417.02
8.0.210.0000.00716.92
8.0.200.0040.00417.11
8.0.190.0030.00617.09
8.0.180.0080.00017.03
8.0.170.0000.00817.08
8.0.160.0070.00017.16
8.0.150.0050.00216.95
8.0.140.0020.00517.03
8.0.130.0030.00313.48
8.0.120.0050.00317.00
8.0.110.0050.00216.93
8.0.100.0040.00416.87
8.0.90.0000.00717.07
8.0.80.0040.01217.05
8.0.70.0000.00717.15
8.0.60.0070.00016.98
8.0.50.0000.00716.85
8.0.30.0070.01017.19
8.0.20.0070.01317.40
8.0.10.0040.00417.11
8.0.00.0110.00816.67
7.4.330.0030.00315.55
7.4.320.0000.00616.65
7.4.300.0000.00616.75
7.4.290.0040.00416.75
7.4.280.0060.00316.55
7.4.270.0050.00316.71
7.4.260.0070.00416.75
7.4.250.0040.00416.61
7.4.240.0030.00316.61
7.4.230.0000.00716.87
7.4.220.0050.00216.57
7.4.210.0090.00816.71
7.4.200.0080.00016.64
7.4.160.0080.01016.73
7.4.140.0080.00917.86
7.4.130.0060.01716.63
7.4.120.0090.00916.66
7.4.110.0080.01116.69
7.4.100.0070.00916.60
7.4.90.0130.00316.78
7.4.80.0130.00419.39
7.4.70.0120.00816.75
7.4.60.0030.01316.62
7.4.50.0140.00316.71
7.4.40.0120.00916.71
7.4.00.0110.00714.98
7.3.330.0050.00013.21
7.3.320.0060.00013.25
7.3.310.0040.00416.48
7.3.300.0000.00716.50
7.3.290.0030.00516.34
7.3.280.0040.01016.34
7.3.260.0110.00916.48
7.3.240.0090.01016.54
7.3.230.0070.01016.33
7.3.210.0120.00916.71
7.3.200.0070.01016.35
7.3.190.0030.02016.38
7.3.180.0080.00816.38
7.3.170.0130.01016.47
7.3.160.0090.00816.28
7.3.120.0040.01115.13
7.3.110.0000.01314.68
7.3.100.0060.00614.86
7.3.90.0060.00315.27
7.3.80.0050.00515.12
7.3.70.0110.00014.73
7.3.60.0070.00715.06
7.3.50.0100.00615.04
7.3.40.0060.01014.82
7.3.30.0060.01214.97
7.3.20.0040.00716.84
7.3.10.0060.01016.63
7.3.00.0130.00316.74
7.2.330.0040.01316.64
7.2.320.0070.01116.54
7.2.310.0130.00716.69
7.2.300.0030.01216.67
7.2.290.0090.00916.85
7.2.240.0070.01015.31
7.2.230.0060.01015.20
7.2.220.0060.01014.88
7.2.210.0130.00314.94
7.2.200.0090.00615.16
7.2.190.0030.01215.16
7.2.180.0040.01415.30
7.2.170.0040.01514.77
7.2.160.0040.01214.90
7.2.150.0090.00617.08
7.2.140.0030.00817.17
7.2.130.0080.00617.08
7.2.120.0000.01516.96
7.2.110.0470.00815.43
7.2.100.0400.00915.47
7.2.90.0410.00815.48
7.2.80.0440.00615.40
7.2.70.0450.01115.80
7.2.60.0480.00515.60
7.2.50.0380.00515.63
7.2.40.0420.01115.89
7.2.30.0520.00915.88
7.2.20.0270.00715.67
7.2.10.0490.00815.74
7.2.00.0180.01015.76
7.1.330.0040.01215.96
7.1.320.0120.00615.86
7.1.310.0060.00315.92
7.1.300.0090.00615.88
7.1.290.0080.00415.95
7.1.280.0060.00915.70
7.1.270.0040.01115.95
7.1.260.0000.01416.03
7.1.250.0140.00015.95
7.1.230.0690.00914.21
7.1.220.0730.00514.01
7.1.210.0600.00314.18
7.1.200.0570.00614.17
7.1.190.0670.00814.14
7.1.180.0520.00613.85
7.1.170.0630.00613.91
7.1.160.0480.00913.97
7.1.150.0550.00713.86
7.1.140.0510.00714.06
7.1.130.0330.00514.00
7.1.120.0680.00513.98
7.1.110.0260.00914.11
7.1.100.0760.00714.16
7.1.90.0390.00513.85
7.1.80.0270.00513.88
7.1.70.0280.00513.94
7.1.60.0520.01432.00
7.1.50.0790.01331.93
7.1.40.0630.01931.90
7.1.30.0720.01031.88
7.1.20.0880.01132.05
7.1.10.0620.00913.84
7.1.00.0390.00313.99
5.6.380.0110.00914.34

preferences:
56.1 ms | 400 KiB | 5 Q