3v4l.org

run code in 300+ PHP versions simultaneously
<?php $target = "10 && 10"; $substitutions = array( '&&' => '', ';' => '', ); $target = str_replace( array_keys( $substitutions ), $substitutions, $target );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/8WnUW
function name:  (null)
number of ops:  12
compiled vars:  !0 = $target, !1 = $substitutions
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '10+%26%26+10'
    3     1        ASSIGN                                                   !1, <array>
    8     2        INIT_FCALL                                               'str_replace'
          3        INIT_FCALL                                               'array_keys'
          4        SEND_VAR                                                 !1
          5        DO_ICALL                                         $4      
          6        SEND_VAR                                                 $4
          7        SEND_VAR                                                 !1
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                         $5      
         10        ASSIGN                                                   !0, $5
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.26 ms | 1394 KiB | 17 Q