3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = "a".str_repeat(" ",1024)."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 = 15, Position 2 = 16
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
filename:       /in/VE4kq
function name:  (null)
number of ops:  17
compiled vars:  !0 = $data, !1 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'str_repeat'
          1        SEND_VAL                                                 '+'
          2        SEND_VAL                                                 1024
          3        DO_ICALL                                         $2      
          4        CONCAT                                           ~3      'a', $2
          5        CONCAT                                           ~4      ~3, 'b'
          6        ASSIGN                                                   !0, ~4
    3     7        INIT_FCALL                                               'preg_replace'
          8        SEND_VAL                                                 '%2F%5B%5E-_a-z%5D%2F'
          9        SEND_VAL                                                 ''
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                         $6      
         12        ASSIGN                                                   !1, $6
    4    13        IS_NOT_EQUAL                                             !1, 'ab'
         14      > JMPZ                                                     ~8, ->16
         15    >   ECHO                                                     !0
    5    16    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.42 ms | 1398 KiB | 17 Q