1 2 3 4 5 | <?php $str = 'oneTwoThreeFour'; preg_match_all('/[A-Z]?[a-z]+/', $str, $matches); print_r($matches[0]); ?> |
-
upload with new input
-
result: Success time: 0.01s memory: 20568 kB returned value: 0
theFirstText_WithBad12CamelCaseNaturePDF"
Array ( [0] => one [1] => Two [2] => Three [3] => Four ) -
result: Success time: 0.02s memory: 13112 kB returned value: 0
$str=theFirstText_WithBad12CamelCaseNaturePDF"
Array ( [0] => one [1] => Two [2] => Three [3] => Four ) -
result: Success time: 0.02s memory: 13112 kB returned value: 0
theFirstText_WithBad12CamelCaseNaturePDF"
Array ( [0] => one [1] => Two [2] => Three [3] => Four ) -
result: Success time: 0.02s memory: 13112 kB returned value: 0
-
result: Success time: 0s memory: 13112 kB returned value: 0
Array ( [0] => one [1] => Two [2] => Three [3] => Four )


