3v4l.org

run code in 300+ PHP versions simultaneously
<?php function parseFieldName($sInput){ $aInput = explode('__@@', $sInput, 3); return $aInput[1]; } $string = "Schwarz__@@Weiß__@@Schön!P!10__@@Cool!P!50%__@@"; echo parseFieldName($string);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/jssSP
function name:  (null)
number of ops:  6
compiled vars:  !0 = $string
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   ASSIGN                                                   !0, 'Schwarz__%40%40Wei%C3%9F__%40%40Sch%C3%B6n%21P%2110__%40%40Cool%21P%2150%25__%40%40'
    9     1        INIT_FCALL                                               'parsefieldname'
          2        SEND_VAR                                                 !0
          3        DO_FCALL                                      0  $2      
          4        ECHO                                                     $2
          5      > RETURN                                                   1

Function parsefieldname:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/jssSP
function name:  parseFieldName
number of ops:  10
compiled vars:  !0 = $sInput, !1 = $aInput
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
    3     1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 '__%40%40'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 3
          5        DO_ICALL                                         $2      
          6        ASSIGN                                                   !1, $2
    4     7        FETCH_DIM_R                                      ~4      !1, 1
          8      > RETURN                                                   ~4
    5     9*     > RETURN                                                   null

End of function parsefieldname

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.16 ms | 1397 KiB | 16 Q