3v4l.org

run code in 300+ PHP versions simultaneously
<?php list($eleje, $megn) = preg_split("/(\W|^)as(\W|$)/i", "autentikacio as 'Felhasználónév'"); if($megn) { $megn = preg_replace(array('/\'/','/\"/'), array('', ''), trim($megn)); } print $megn;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 19
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 19
filename:       /in/Ej81n
function name:  (null)
number of ops:  21
compiled vars:  !0 = $eleje, !1 = $megn
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'preg_split'
          1        SEND_VAL                                                 '%2F%28%5CW%7C%5E%29as%28%5CW%7C%24%29%2Fi'
          2        SEND_VAL                                                 'autentikacio+as+%27Felhaszn%C3%A1l%C3%B3n%C3%A9v%27'
          3        DO_ICALL                                         $2      
          4        FETCH_LIST_R                                     $3      $2, 0
          5        ASSIGN                                                   !0, $3
          6        FETCH_LIST_R                                     $5      $2, 1
          7        ASSIGN                                                   !1, $5
          8        FREE                                                     $2
    4     9      > JMPZ                                                     !1, ->19
    5    10    >   INIT_FCALL                                               'preg_replace'
         11        SEND_VAL                                                 <array>
         12        SEND_VAL                                                 <array>
         13        INIT_FCALL                                               'trim'
         14        SEND_VAR                                                 !1
         15        DO_ICALL                                         $7      
         16        SEND_VAR                                                 $7
         17        DO_ICALL                                         $8      
         18        ASSIGN                                                   !1, $8
    7    19    >   ECHO                                                     !1
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.55 ms | 1386 KiB | 19 Q