3v4l.org

run code in 300+ PHP versions simultaneously
<?php $in = "iwrupvqb"; function bruteforce($input) { $i = 0; echo substr("123456", 5); } bruteforce();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fF3pJ
function name:  (null)
number of ops:  4
compiled vars:  !0 = $in
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'iwrupvqb'
   11     1        INIT_FCALL                                               'bruteforce'
          2        DO_FCALL                                      0          
          3      > RETURN                                                   1

Function bruteforce:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fF3pJ
function name:  bruteforce
number of ops:  8
compiled vars:  !0 = $input, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   RECV                                             !0      
    6     1        ASSIGN                                                   !1, 0
    8     2        INIT_FCALL                                               'substr'
          3        SEND_VAL                                                 '123456'
          4        SEND_VAL                                                 5
          5        DO_ICALL                                         $3      
          6        ECHO                                                     $3
    9     7      > RETURN                                                   null

End of function bruteforce

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.92 ms | 1396 KiB | 16 Q