3v4l.org

run code in 300+ PHP versions simultaneously
<?php $adminstring = "Write&"; echo str_replace("&","",trim($adminstring)); $s = "WriteAdmin&AdminPerm"; echo stristr($s,"Admin"); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vVbI8
function name:  (null)
number of ops:  17
compiled vars:  !0 = $adminstring, !1 = $s
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'Write%26'
    4     1        INIT_FCALL                                               'str_replace'
          2        SEND_VAL                                                 '%26'
          3        SEND_VAL                                                 ''
          4        INIT_FCALL                                               'trim'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $3      
          7        SEND_VAR                                                 $3
          8        DO_ICALL                                         $4      
          9        ECHO                                                     $4
    6    10        ASSIGN                                                   !1, 'WriteAdmin%26AdminPerm'
    7    11        INIT_FCALL                                               'stristr'
         12        SEND_VAR                                                 !1
         13        SEND_VAL                                                 'Admin'
         14        DO_ICALL                                         $6      
         15        ECHO                                                     $6
    8    16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.76 ms | 1394 KiB | 19 Q