3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "Hello my Name Is Paloppa: CIao I'm 20 And? Hello! Words' Man Ab"; // Word boundary before the first uppercase letter, followed by any alphanumeric character preg_match_all('/(?<!^)\b[A-Z][a-zA-Z]{1,}\.+[A-Z][a-zA-Z]{1,}\b(?!["!?.\\\'])/', $string, $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.4.120.0120.00819.97
8.4.110.0130.00724.31
8.4.100.0120.00917.93
8.4.90.0170.00320.51
8.4.80.0100.00918.67
8.4.70.0130.00820.80
8.4.60.0100.01120.42
8.4.50.0150.00620.48
8.4.40.0030.00519.65
8.4.30.0100.00618.61
8.4.20.0120.00920.57
8.4.10.0000.00919.86
8.3.250.0090.00316.38
8.3.240.0130.00616.50
8.3.230.0050.00416.61
8.3.220.0050.00318.76
8.3.210.0080.00816.73
8.3.200.0080.01216.67
8.3.190.0050.00516.96
8.3.180.0150.00318.90
8.3.170.0110.00317.20
8.3.160.0070.01116.70
8.3.150.0110.00418.46
8.3.140.0060.00316.50
8.3.130.0130.00716.56
8.3.120.0030.00618.78
8.3.110.0070.01120.94
8.3.100.0000.00824.06
8.3.90.0040.01126.77
8.3.80.0030.00618.56
8.3.70.0090.00618.31
8.3.60.0110.01118.55
8.3.50.0110.00717.34
8.3.40.0080.00818.88
8.3.30.0080.00818.87
8.3.20.0080.00021.77
8.3.10.0050.00321.71
8.3.00.0070.00023.66
8.2.290.0030.00816.87
8.2.280.0100.00818.52
8.2.270.0100.01018.89
8.2.260.0100.00717.12
8.2.250.0090.00917.04
8.2.240.0060.00317.29
8.2.230.0000.00822.58
8.2.220.0100.00037.54
8.2.210.0030.00526.77
8.2.200.0070.00416.63
8.2.190.0090.00616.58
8.2.180.0120.00418.38
8.2.170.0090.00622.96
8.2.160.0110.00420.57
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0000.00826.16
8.2.110.0070.00320.35
8.2.100.0030.00919.28
8.2.90.0040.00417.88
8.2.80.0060.00319.18
8.2.70.0000.00817.78
8.2.60.0060.00318.09
8.2.50.0040.00418.10
8.2.40.0060.00322.18
8.2.30.0030.00619.33
8.2.20.0020.00518.09
8.2.10.0040.00419.41
8.2.00.0020.00519.26
8.1.330.0110.00816.66
8.1.320.0110.01018.26
8.1.310.0070.01016.65
8.1.300.0060.00918.71
8.1.290.0000.00918.88
8.1.280.0030.01225.92
8.1.270.0030.01323.70
8.1.260.0040.00426.35
8.1.250.0060.00328.09
8.1.240.0030.00618.86
8.1.230.0040.00720.85
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0040.00717.48
8.1.190.0000.00817.35
8.1.180.0030.00518.10
8.1.170.0000.00818.64
8.1.160.0040.00418.79
8.1.150.0000.00718.71
8.1.140.0050.00218.82
8.1.130.0000.00720.02
8.1.120.0040.00417.39
8.1.110.0040.00417.46
8.1.100.0000.00717.45
8.1.90.0080.00017.55
8.1.80.0050.00217.41
8.1.70.0000.00817.53
8.1.60.0040.00417.70
8.1.50.0070.00017.51
8.1.40.0030.00517.64
8.1.30.0040.00417.60
8.1.20.0040.00417.78
8.1.10.0080.00017.72
8.1.00.0080.00017.57
8.0.300.0070.00019.74
8.0.290.0000.01016.63
8.0.280.0040.00418.32
8.0.270.0030.00317.10
8.0.260.0030.00318.28
8.0.250.0030.00317.08
8.0.240.0070.00016.94
8.0.230.0000.00716.93
8.0.220.0000.00716.94
8.0.210.0030.00316.89
8.0.200.0100.00016.90
8.0.190.0000.00817.02
8.0.180.0040.00417.00
8.0.170.0040.00417.01
8.0.160.0060.00617.06
8.0.150.0000.00716.91
8.0.140.0040.00416.93
8.0.130.0000.00613.40
8.0.120.0040.00416.90
8.0.110.0000.00816.96
8.0.100.0040.00417.01
8.0.90.0070.00016.85
8.0.80.0110.01116.92
8.0.70.0080.00017.02
8.0.60.0050.00317.02
8.0.50.0030.00616.93
8.0.30.0130.00517.25
8.0.20.0060.01617.09
8.0.10.0000.00717.11
8.0.00.0130.00517.06
7.4.330.0000.00515.55
7.4.320.0070.00016.77
7.4.300.0060.00016.74
7.4.290.0000.00816.76
7.4.280.0050.00316.66
7.4.270.0040.00416.62
7.4.260.0030.00316.70
7.4.250.0000.00716.63
7.4.240.0030.00316.66
7.4.230.0030.00316.56
7.4.220.0050.00316.70
7.4.210.0100.01016.82
7.4.200.0040.00416.57
7.4.160.0090.00916.52
7.4.130.0160.00716.74
7.4.120.0100.00716.41
7.4.110.0110.01116.70
7.4.100.0130.00316.53
7.4.90.0080.00916.70
7.4.80.0110.01119.39
7.4.70.0120.00616.66
7.4.60.0040.01216.57
7.4.50.0140.00416.59
7.4.40.0060.01516.61
7.4.00.0090.00615.32
7.3.330.0020.00213.09
7.3.320.0050.00013.24
7.3.310.0000.00716.35
7.3.300.0030.00316.45
7.3.290.0070.00016.33
7.3.280.0080.01216.29
7.3.260.0130.00816.46
7.3.240.0070.00916.35
7.3.230.0120.00616.43
7.3.210.0030.01316.46
7.3.200.0100.00716.62
7.3.190.0100.00616.57
7.3.180.0070.02116.65
7.3.170.0140.00316.52
7.3.160.0130.00316.39
7.3.60.0080.00514.82
7.3.50.0080.00314.85
7.3.40.0100.01014.82
7.3.30.0040.01114.64
7.3.20.0100.00316.66
7.3.10.0100.00316.77
7.3.00.0070.00416.76
7.2.330.0070.01016.60
7.2.320.0080.01416.67
7.2.310.0120.01216.60
7.2.300.0120.00616.56
7.2.290.0120.00416.77
7.2.190.0100.01414.93
7.2.180.0060.00514.61
7.2.170.0140.00015.12
7.2.160.0070.00715.09
7.2.150.0110.00316.97
7.2.140.0030.01016.88
7.2.130.0060.00916.89
7.2.120.0140.00816.57
7.2.110.0080.00816.73
7.2.100.0070.00716.65
7.2.90.0040.00816.79
7.2.80.0060.01616.80
7.2.70.0060.01616.85
7.2.60.0090.00916.88
7.2.50.0120.00016.97
7.2.40.0050.00516.64
7.2.30.0090.01216.62
7.2.20.0060.01916.93
7.2.10.0090.01216.80
7.2.00.0120.00316.57
7.1.300.0040.00815.85
7.1.290.0060.00315.97
7.1.280.0070.01415.85
7.1.270.0040.00915.89
7.1.260.0130.01015.78
7.1.250.0130.00915.81

preferences:
120.34 ms | 403 KiB | 5 Q