3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(preg_replace('/\?.*$/', '', pathinfo('http://4.bp.blogspot.com/-w9IHwA3AcMA/UwygXddzYVI/AAAAAAAACoc/ExetJqjOaQs/s1600/PU+flyer_3-13.jpg?v=dsfadsf')['basename']));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3bNP6
function name:  (null)
number of ops:  13
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'preg_replace'
          2        SEND_VAL                                                 '%2F%5C%3F.%2A%24%2F'
          3        SEND_VAL                                                 ''
          4        INIT_FCALL                                               'pathinfo'
          5        SEND_VAL                                                 'http%3A%2F%2F4.bp.blogspot.com%2F-w9IHwA3AcMA%2FUwygXddzYVI%2FAAAAAAAACoc%2FExetJqjOaQs%2Fs1600%2FPU%2Bflyer_3-13.jpg%3Fv%3Ddsfadsf'
          6        DO_ICALL                                         $0      
          7        FETCH_DIM_R                                      ~1      $0, 'basename'
          8        SEND_VAL                                                 ~1
          9        DO_ICALL                                         $2      
         10        SEND_VAR                                                 $2
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.34 ms | 1385 KiB | 19 Q