3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = "a b"; $a=preg_replace("/[^-_a-z]/", "", $data); if($a!="ab") echo $data; ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 10
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
filename:       /in/iqd0e
function name:  (null)
number of ops:  11
compiled vars:  !0 = $data, !1 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'a+b'
    3     1        INIT_FCALL                                               'preg_replace'
          2        SEND_VAL                                                 '%2F%5B%5E-_a-z%5D%2F'
          3        SEND_VAL                                                 ''
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $3      
          6        ASSIGN                                                   !1, $3
    4     7        IS_NOT_EQUAL                                             !1, 'ab'
          8      > JMPZ                                                     ~5, ->10
          9    >   ECHO                                                     !0
    5    10    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.18 ms | 1394 KiB | 15 Q