3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "https://www.facebook.com/OutfitFashionUK/photos/a.257299044407630.1073741836.245894895548045/715611908576339/?type=3&theater"; print explode($string, "/")[-1];
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mvpZj
function name:  (null)
number of ops:  8
compiled vars:  !0 = $string
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'https%3A%2F%2Fwww.facebook.com%2FOutfitFashionUK%2Fphotos%2Fa.257299044407630.1073741836.245894895548045%2F715611908576339%2F%3Ftype%3D3%26theater'
    5     1        INIT_FCALL                                               'explode'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 '%2F'
          4        DO_ICALL                                         $2      
          5        FETCH_DIM_R                                      ~3      $2, -1
          6        ECHO                                                     ~3
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.03 ms | 1394 KiB | 15 Q