3v4l.org

run code in 300+ PHP versions simultaneously
<?php $l = "class_exists('sdf')"; $l = str_replace('class_exists(', 'class_exists(\Mastershop\Core\getNamespace(',$l); $l = str_replace('class_exists(', 'class_exists(\Mastershop\Core\getNamespace(',$l); echo $l;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/s2bv3
function name:  (null)
number of ops:  15
compiled vars:  !0 = $l
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'class_exists%28%27sdf%27%29'
    4     1        INIT_FCALL                                               'str_replace'
          2        SEND_VAL                                                 'class_exists%28'
          3        SEND_VAL                                                 'class_exists%28%5CMastershop%5CCore%5CgetNamespace%28'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $2      
          6        ASSIGN                                                   !0, $2
    5     7        INIT_FCALL                                               'str_replace'
          8        SEND_VAL                                                 'class_exists%28'
          9        SEND_VAL                                                 'class_exists%28%5CMastershop%5CCore%5CgetNamespace%28'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                         $4      
         12        ASSIGN                                                   !0, $4
    7    13        ECHO                                                     !0
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.63 ms | 1394 KiB | 15 Q