3v4l.org

run code in 300+ PHP versions simultaneously
<?php $albin = explode('=','[nggalery id = 19]'); echo substr(trim($albin[1]), 0, -1); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/R6biC
function name:  (null)
number of ops:  16
compiled vars:  !0 = $albin
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   INIT_FCALL                                               'explode'
          1        SEND_VAL                                                 '%3D'
          2        SEND_VAL                                                 '%5Bnggalery+id+%3D+19%5D'
          3        DO_ICALL                                         $1      
          4        ASSIGN                                                   !0, $1
    2     5        INIT_FCALL                                               'substr'
          6        INIT_FCALL                                               'trim'
          7        FETCH_DIM_R                                      ~3      !0, 1
          8        SEND_VAL                                                 ~3
          9        DO_ICALL                                         $4      
         10        SEND_VAR                                                 $4
         11        SEND_VAL                                                 0
         12        SEND_VAL                                                 -1
         13        DO_ICALL                                         $5      
         14        ECHO                                                     $5
    5    15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.95 ms | 1394 KiB | 19 Q