3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.74 ms | 1394 KiB | 17 Q