3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.53 ms | 1394 KiB | 19 Q