3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = <<<EOD PRD Hervey Bay 07 2525 1919 RG Sprake &amp; Co Maryborough 4141 2424 Owner Robert - 0429 966 391 Owner Maureen - 07 8888 4444 - 0422000 111 Owner Wayne - 0430 555 666 Builder Scott - 0444 555 777 EOD; preg_match_all('/^(Owner |Builder )?(.*?)(?=-| \d)[- ]+(.*)$/m', $text, $matches); print_r($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.3.70.0120.00816.75
8.3.60.0120.00318.43
8.3.50.0090.00916.68
8.3.40.0150.00419.05
8.3.30.0110.00418.93
8.3.20.0000.00821.77
8.3.10.0050.00320.73
8.3.00.0000.00817.75
8.2.190.0120.00316.89
8.2.180.0110.00816.87
8.2.170.0120.00622.96
8.2.160.0110.00322.22
8.2.150.0030.00525.66
8.2.140.0030.00524.66
8.2.130.0050.00326.16
8.2.120.0080.00019.82
8.2.110.0150.00621.13
8.2.100.0040.00717.91
8.2.90.0000.00818.16
8.2.80.0000.00917.97
8.2.70.0000.00917.80
8.2.60.0080.00018.09
8.2.50.0060.00318.10
8.2.40.0030.00619.48
8.2.30.0070.00019.38
8.2.20.0000.00718.16
8.2.10.0070.00019.20
8.2.00.0100.00018.04
8.1.280.0040.01125.92
8.1.270.0070.00724.66
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0110.00019.48
8.1.230.0110.00020.87
8.1.220.0050.00317.74
8.1.210.0030.00618.91
8.1.200.0040.00417.38
8.1.190.0060.00317.13
8.1.180.0000.00818.10
8.1.170.0050.00318.50
8.1.160.0000.00718.89
8.1.150.0040.00418.85
8.1.140.0040.00418.84
8.1.130.0040.00421.90
8.1.120.0040.00417.51
8.1.110.0040.00717.45
8.1.100.0000.00817.52
8.1.90.0040.00417.56
8.1.80.0050.00217.48
8.1.70.0000.00817.59
8.1.60.0000.00817.65
8.1.50.0030.00517.59
8.1.40.0060.00317.67
8.1.30.0080.00417.75
8.1.20.0080.00017.77
8.1.10.0020.00517.57
8.1.00.0000.00817.67
8.0.300.0040.00420.09
8.0.290.0000.00716.75
8.0.280.0030.00518.31
8.0.270.0000.00717.23
8.0.260.0000.00618.48
8.0.250.0000.00816.99
8.0.240.0070.00017.12
8.0.230.0000.00717.13
8.0.220.0000.00717.05
8.0.210.0000.00717.09
8.0.200.0040.00417.04
8.0.190.0030.00517.06
8.0.180.0040.00416.96
8.0.170.0040.00416.96
8.0.160.0070.00016.96
8.0.150.0000.00717.05
8.0.140.0080.00017.02
8.0.130.0000.00613.49
8.0.120.0040.00417.07
8.0.110.0000.00717.10
8.0.100.0000.00716.96
8.0.90.0040.00417.18
8.0.80.0060.00917.07
8.0.70.0000.00817.13
8.0.60.0030.00516.91
8.0.50.0080.00016.98
8.0.30.0120.00817.34
8.0.20.0090.00917.28
8.0.10.0040.00417.14
8.0.00.0130.00616.80
7.4.330.0000.00515.55
7.4.320.0000.00716.84
7.4.300.0030.00316.68
7.4.290.0050.00316.83
7.4.280.0050.00316.70
7.4.270.0000.00716.73
7.4.260.0030.00616.61
7.4.250.0030.00316.73
7.4.240.0040.00416.86
7.4.230.0000.00716.93
7.4.220.0070.00016.83
7.4.210.0110.00616.81
7.4.200.0070.00016.64
7.4.160.0080.00916.68
7.4.140.0040.01317.86
7.4.130.0110.00816.81
7.4.120.0030.01416.78
7.4.110.0140.00316.71
7.4.100.0160.00316.75
7.4.90.0080.00916.79
7.4.80.0070.01119.39
7.4.70.0090.00916.65
7.4.60.0030.01316.68
7.4.50.0080.00616.39
7.4.40.0110.01116.66
7.4.00.0030.01014.95
7.3.330.0050.00013.15
7.3.320.0030.00313.28
7.3.310.0030.00316.23
7.3.300.0070.00016.31
7.3.290.0000.00716.44
7.3.280.0120.00516.35
7.3.260.0160.00516.63
7.3.240.0090.01116.54
7.3.230.0210.02416.53
7.3.210.0110.00516.24
7.3.200.0090.00916.41
7.3.190.0110.00616.52
7.3.180.0060.01316.52
7.3.170.0080.01516.48
7.3.160.0110.00816.66
7.3.10.0420.00014.67
7.3.00.1210.00714.76
7.2.330.0090.00916.50
7.2.320.0060.01616.57
7.2.310.0100.00916.64
7.2.300.0090.00816.64
7.2.290.0130.00316.80
7.2.130.0570.00015.08
7.2.120.0480.00715.07
7.2.110.0380.01215.06
7.2.100.0500.00614.77
7.2.90.0320.01015.01
7.2.80.0360.00415.15
7.2.70.0470.01614.87
7.2.60.0700.00715.07
7.2.50.0580.00715.00
7.2.40.0650.00914.88
7.2.30.0470.00714.98
7.2.20.0500.00315.20
7.2.10.0480.01015.09
7.2.00.0470.00715.07
7.1.250.0520.00714.14

preferences:
29.43 ms | 401 KiB | 5 Q