3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "Hello my Name is Paloppa. I'm 20 And? Hello! Words' Man"; // Word boundary before the first uppercase letter, followed by any alphanumeric character preg_match_all( '/(?<!^)(?<!\. )\b[A-Z][a-zA-Z]*\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.5.10.0090.00816.74
8.5.00.0120.00920.05
8.4.160.0160.00923.84
8.4.150.0030.00014.05
8.4.140.0110.01017.91
8.4.130.0120.01017.76
8.4.120.0150.00520.51
8.4.110.0110.00822.75
8.4.100.0150.00617.90
8.4.90.0040.00518.06
8.4.80.0140.00519.91
8.4.70.0150.00617.86
8.4.60.0140.00718.78
8.4.50.0080.01420.46
8.4.40.0170.00319.80
8.4.30.0130.00618.76
8.4.20.0130.00620.74
8.4.10.0000.00919.68
8.3.280.0100.01018.54
8.3.270.0120.00716.74
8.3.260.0100.00616.62
8.3.250.0140.00518.79
8.3.240.0070.00116.61
8.3.230.0100.01016.57
8.3.220.0100.00816.85
8.3.210.0110.00718.62
8.3.200.0040.00516.68
8.3.190.0090.00818.86
8.3.180.0140.00516.73
8.3.170.0030.00617.25
8.3.160.0060.01218.47
8.3.150.0100.01018.43
8.3.140.0070.01120.68
8.3.130.0130.00618.42
8.3.120.0070.00320.54
8.3.110.0060.00320.94
8.3.100.0040.00418.56
8.3.90.0120.00320.41
8.3.80.0090.00018.43
8.3.70.0140.00416.61
8.3.60.0070.00718.30
8.3.50.0080.01317.37
8.3.40.0140.00718.98
8.3.30.0070.00718.82
8.3.20.0030.00621.73
8.3.10.0040.00421.67
8.3.00.0030.00623.61
8.2.290.0100.00920.41
8.2.280.0090.00418.79
8.2.270.0100.01016.96
8.2.260.0120.00616.95
8.2.250.0060.00316.87
8.2.240.0000.00917.34
8.2.230.0040.00422.58
8.2.220.0060.00324.06
8.2.210.0000.00926.77
8.2.200.0100.00018.66
8.2.190.0070.00716.88
8.2.180.0120.00918.54
8.2.170.0070.00722.96
8.2.160.0110.00420.54
8.2.150.0100.00024.18
8.2.140.0060.00324.66
8.2.130.0080.00026.16
8.2.120.0070.00026.16
8.2.110.0060.01121.15
8.2.100.0060.00617.97
8.2.90.0050.00318.09
8.2.80.0060.00318.04
8.2.70.0030.00618.04
8.2.60.0080.00018.03
8.2.50.0050.00318.10
8.2.40.0050.00322.28
8.2.30.0070.00019.32
8.2.20.0070.00018.07
8.2.10.0040.00419.30
8.2.00.0000.00719.21
8.1.330.0120.00622.19
8.1.320.0110.00816.30
8.1.310.0040.00418.43
8.1.300.0090.00916.25
8.1.290.0090.00018.88
8.1.280.0110.00425.92
8.1.270.0040.00423.82
8.1.260.0090.00026.35
8.1.250.0080.00028.09
8.1.240.0100.00320.46
8.1.230.0080.00422.74
8.1.220.0030.00617.74
8.1.210.0030.00518.77
8.1.200.0060.00317.35
8.1.190.0050.00317.35
8.1.180.0000.00818.10
8.1.170.0000.00818.63
8.1.160.0000.00718.72
8.1.150.0000.00718.79
8.1.140.0000.00718.90
8.1.130.0030.00620.09
8.1.120.0050.00217.59
8.1.110.0040.00417.52
8.1.100.0070.00017.44
8.1.90.0000.00717.49
8.1.80.0030.00417.45
8.1.70.0030.00317.57
8.1.60.0040.00417.57
8.1.50.0000.00817.49
8.1.40.0030.00517.66
8.1.30.0030.00517.61
8.1.20.0080.00017.61
8.1.10.0070.00017.70
8.1.00.0030.00617.67
8.0.300.0030.00619.77
8.0.290.0030.00616.75
8.0.280.0030.00318.40
8.0.270.0040.00417.20
8.0.260.0060.00018.27
8.0.250.0070.00017.05
8.0.240.0030.00316.99
8.0.230.0040.00416.94
8.0.220.0000.00716.86
8.0.210.0030.00516.96
8.0.200.0070.00016.90
8.0.190.0070.00016.91
8.0.180.0040.00417.00
8.0.170.0000.00916.90
8.0.160.0040.00417.07
8.0.150.0040.00416.89
8.0.140.0000.00716.89
8.0.130.0000.00613.36
8.0.120.0070.00016.80
8.0.110.0020.00516.80
8.0.100.0030.00516.84
8.0.90.0000.00816.89
8.0.80.0070.01317.00
8.0.70.0070.00016.91
8.0.60.0000.00716.91
8.0.50.0000.00716.85
8.0.30.0090.00817.14
8.0.20.0060.01217.29
8.0.10.0000.00717.04
8.0.00.0110.00516.81
7.4.330.0060.00015.55
7.4.320.0000.00716.66
7.4.300.0000.00616.79
7.4.290.0000.00716.71
7.4.280.0000.00816.75
7.4.270.0000.00816.64
7.4.260.0000.00716.64
7.4.250.0000.00716.61
7.4.240.0000.00716.71
7.4.230.0030.00316.45
7.4.220.0000.00816.68
7.4.210.0020.01316.71
7.4.200.0000.00816.64
7.4.160.0060.01116.57
7.4.130.0060.01616.63
7.4.120.0030.01416.76
7.4.110.0030.01316.82
7.4.100.0080.00816.74
7.4.90.0100.00716.64
7.4.80.0090.00919.39
7.4.70.0110.00616.73
7.4.60.0120.00416.71
7.4.50.0090.00616.75
7.4.40.0090.00616.63
7.4.00.0080.00815.11
7.3.330.0020.00213.09
7.3.320.0070.00013.20
7.3.310.0000.00716.18
7.3.300.0000.00716.30
7.3.290.0000.00716.40
7.3.280.0080.01016.32
7.3.260.0100.00716.49
7.3.230.0090.00616.67
7.3.210.0110.00616.45
7.3.200.0110.00516.60
7.3.190.0040.01216.52
7.3.180.0130.00716.63
7.3.170.0060.01616.52
7.3.160.0100.00616.43
7.3.120.0060.01214.73
7.3.110.0140.00415.05
7.3.100.0100.00714.80
7.3.90.0040.01114.65
7.3.80.0070.01014.74
7.3.70.0100.00015.03
7.3.60.0050.01214.76
7.3.50.0100.00514.70
7.3.40.0080.00815.00
7.3.30.0070.01014.91
7.3.20.0210.00815.91
7.3.10.0140.00816.01
7.3.00.0100.00915.71
7.2.330.0090.00616.84
7.2.320.0030.01416.68
7.2.310.0110.00716.71
7.2.300.0060.01016.70
7.2.290.0130.00416.70
7.2.250.0120.00614.73
7.2.240.0100.01015.05
7.2.230.0090.00615.13
7.2.220.0070.00714.92
7.2.210.0070.00715.07
7.2.200.0090.00614.75
7.2.190.0060.01114.98
7.2.180.0070.01014.78
7.2.170.0050.01114.96
7.2.160.0050.01014.56
7.2.150.0350.00615.06
7.2.140.0170.01415.20
7.2.130.0190.01015.01
7.2.120.0140.01114.85
7.2.110.0200.01014.84
7.2.100.0110.00815.01
7.2.90.0240.00015.05
7.2.80.0250.01314.99
7.2.70.0160.01314.67
7.2.60.0130.00815.00
7.2.50.0180.01515.11
7.2.40.0090.01315.29
7.2.30.0270.00915.14
7.2.20.0150.01215.02
7.2.10.0220.00715.05
7.2.00.0110.01114.88
7.1.330.0080.00816.14
7.1.320.0100.00315.75
7.1.310.0030.01415.82
7.1.300.0110.00814.91
7.1.290.0070.00714.93
7.1.280.0060.00914.81
7.1.270.0080.00714.96
7.1.260.0110.01015.00
7.1.250.0240.01214.04

preferences:
171.36 ms | 403 KiB | 5 Q