3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php preg_match_all('/([A-Z0-9][0-9]*(?=$|[A-Z][a-z])|[A-Z][a-z]+)/', 'NewFolder3', $decamelCase); var_dump($decamelCase);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/DZM0Y
function name:  (null)
number of ops:  9
compiled vars:  !0 = $decamelCase
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   INIT_FCALL                                               'preg_match_all'
         1        SEND_VAL                                                 '%2F%28%5BA-Z0-9%5D%5B0-9%5D%2A%28%3F%3D%24%7C%5BA-Z%5D%5Ba-z%5D%29%7C%5BA-Z%5D%5Ba-z%5D%2B%29%2F'
         2        SEND_VAL                                                 'NewFolder3'
         3        SEND_REF                                                 !0
         4        DO_ICALL                                                 
   4     5        INIT_FCALL                                               'var_dump'
         6        SEND_VAR                                                 !0
         7        DO_ICALL                                                 
         8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0