3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(0); $a = "abcdefffefa"; $b = "afe"; print(str_replace(array_unique(explode('', $b)), "", $a));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/oebuZ
function name:  (null)
number of ops:  19
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'error_reporting'
          1        SEND_VAL                                                 0
          2        DO_ICALL                                                 
    5     3        ASSIGN                                                   !0, 'abcdefffefa'
    6     4        ASSIGN                                                   !1, 'afe'
    8     5        INIT_FCALL                                               'str_replace'
          6        INIT_FCALL                                               'array_unique'
          7        INIT_FCALL                                               'explode'
          8        SEND_VAL                                                 ''
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                         $5      
         11        SEND_VAR                                                 $5
         12        DO_ICALL                                         $6      
         13        SEND_VAR                                                 $6
         14        SEND_VAL                                                 ''
         15        SEND_VAR                                                 !0
         16        DO_ICALL                                         $7      
         17        ECHO                                                     $7
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
192.02 ms | 1394 KiB | 21 Q