3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var = '1AA/example/example'; $arr = preg_split('/(?<=[0-9])(?=[a-z]+)/i',$var); $arr[0] +=1; $var = implode('',$arr); echo ($var);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/RDU3u
function name:  (null)
number of ops:  15
compiled vars:  !0 = $var, !1 = $arr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '1AA%2Fexample%2Fexample'
    3     1        INIT_FCALL                                               'preg_split'
          2        SEND_VAL                                                 '%2F%28%3F%3C%3D%5B0-9%5D%29%28%3F%3D%5Ba-z%5D%2B%29%2Fi'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $3      
          5        ASSIGN                                                   !1, $3
    4     6        ASSIGN_DIM_OP                +=               1          !1, 0
          7        OP_DATA                                                  1
    5     8        INIT_FCALL                                               'implode'
          9        SEND_VAL                                                 ''
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                         $6      
         12        ASSIGN                                                   !0, $6
    6    13        ECHO                                                     !0
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
176.04 ms | 1394 KiB | 17 Q