3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i = 37; for ($i = 0;$i <= 37;$i++) { $str = '\\'.$i.'ryat'; eval('$str = "{$str}";'); var_dump($str); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 3
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 3
Branch analysis from position: 13
Branch analysis from position: 3
filename:       /in/5dHhh
function name:  (null)
number of ops:  14
compiled vars:  !0 = $i, !1 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 37
    3     1        ASSIGN                                                   !0, 0
          2      > JMP                                                      ->11
    4     3    >   CONCAT                                           ~4      '%5C', !0
          4        CONCAT                                           ~5      ~4, 'ryat'
          5        ASSIGN                                                   !1, ~5
    5     6        INCLUDE_OR_EVAL                                          '%24str+%3D+%22%7B%24str%7D%22%3B', EVAL
    6     7        INIT_FCALL                                               'var_dump'
          8        SEND_VAR                                                 !1
          9        DO_ICALL                                                 
    3    10        PRE_INC                                                  !0
         11    >   IS_SMALLER_OR_EQUAL                                      !0, 37
         12      > JMPNZ                                                    ~10, ->3
    7    13    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.58 ms | 1394 KiB | 15 Q