3v4l.org

run code in 300+ PHP versions simultaneously
<?php for($i=127;$i<256;$i++){ $data = "a".chr($i)."b"; $a=preg_replace("/[^-_a-z]/", "", $data); if($a!="ab") echo $data; } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 18
Branch analysis from position: 18
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 2
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 43) Position 1 = 16, Position 2 = 17
Branch analysis from position: 16
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 2
Branch analysis from position: 20
Branch analysis from position: 2
Branch analysis from position: 17
filename:       /in/8gP6P
function name:  (null)
number of ops:  21
compiled vars:  !0 = $i, !1 = $data, !2 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 127
          1      > JMP                                                      ->18
    3     2    >   INIT_FCALL                                               'chr'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $4      
          5        CONCAT                                           ~5      'a', $4
          6        CONCAT                                           ~6      ~5, 'b'
          7        ASSIGN                                                   !1, ~6
    4     8        INIT_FCALL                                               'preg_replace'
          9        SEND_VAL                                                 '%2F%5B%5E-_a-z%5D%2F'
         10        SEND_VAL                                                 ''
         11        SEND_VAR                                                 !1
         12        DO_ICALL                                         $8      
         13        ASSIGN                                                   !2, $8
    5    14        IS_NOT_EQUAL                                             !2, 'ab'
         15      > JMPZ                                                     ~10, ->17
         16    >   ECHO                                                     !1
    2    17    >   PRE_INC                                                  !0
         18    >   IS_SMALLER                                               !0, 256
         19      > JMPNZ                                                    ~12, ->2
    7    20    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.55 ms | 1395 KiB | 17 Q