3v4l.org

run code in 300+ PHP versions simultaneously
<?php $t = '2343223A'; $t2 = '32423423'; echo substr($t, 0, 1); echo '<br >'; echo substr($t2, 0, 1);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/n2GIT
function name:  (null)
number of ops:  16
compiled vars:  !0 = $t, !1 = $t2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '2343223A'
    5     1        ASSIGN                                                   !1, '32423423'
    7     2        INIT_FCALL                                               'substr'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 0
          5        SEND_VAL                                                 1
          6        DO_ICALL                                         $4      
          7        ECHO                                                     $4
    9     8        ECHO                                                     '%3Cbr+%3E'
   11     9        INIT_FCALL                                               'substr'
         10        SEND_VAR                                                 !1
         11        SEND_VAL                                                 0
         12        SEND_VAL                                                 1
         13        DO_ICALL                                         $5      
         14        ECHO                                                     $5
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.23 ms | 1394 KiB | 15 Q