3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = "a(bcdefghijkl(mno)pa)q"; $mystring = substr($s,18,2); echo $mystring;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/XYZu7
function name:  (null)
number of ops:  9
compiled vars:  !0 = $s, !1 = $mystring
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'a%28bcdefghijkl%28mno%29pa%29q'
    4     1        INIT_FCALL                                               'substr'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 18
          4        SEND_VAL                                                 2
          5        DO_ICALL                                         $3      
          6        ASSIGN                                                   !1, $3
    5     7        ECHO                                                     !1
    6     8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
137.59 ms | 996 KiB | 14 Q