3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo substr(explode('_', 'TR-GECAD_1')[1], 0);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5GZJ4
function name:  (null)
number of ops:  11
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'substr'
          1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 '_'
          3        SEND_VAL                                                 'TR-GECAD_1'
          4        DO_ICALL                                         $0      
          5        FETCH_DIM_R                                      ~1      $0, 1
          6        SEND_VAL                                                 ~1
          7        SEND_VAL                                                 0
          8        DO_ICALL                                         $2      
          9        ECHO                                                     $2
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
179.22 ms | 1394 KiB | 17 Q