3v4l.org

run code in 300+ PHP versions simultaneously
<?php For($i=0;$i<1000;$i++){ $var ="Vanesh@abc"; echo str_replace(strstr($var, '@') , "", $var); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
2 jumps found. (Code = 44) Position 1 = 16, Position 2 = 2
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 16, Position 2 = 2
Branch analysis from position: 16
Branch analysis from position: 2
filename:       /in/ngCG7
function name:  (null)
number of ops:  17
compiled vars:  !0 = $i, !1 = $var
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 0
          1      > JMP                                                      ->14
    3     2    >   ASSIGN                                                   !1, 'Vanesh%40abc'
    5     3        INIT_FCALL                                               'str_replace'
          4        INIT_FCALL                                               'strstr'
          5        SEND_VAR                                                 !1
          6        SEND_VAL                                                 '%40'
          7        DO_ICALL                                         $4      
          8        SEND_VAR                                                 $4
          9        SEND_VAL                                                 ''
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                         $5      
         12        ECHO                                                     $5
    2    13        PRE_INC                                                  !0
         14    >   IS_SMALLER                                               !0, 1000
         15      > JMPNZ                                                    ~7, ->2
    6    16    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.44 ms | 1399 KiB | 17 Q