3v4l.org

run code in 300+ PHP versions simultaneously
<?php $path = "http://aiotv.tmsimg.com/sources/h3/NowShowing/21633/s21633_h3_aa.png"; $fileName = basename($path); print $fileName;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/TnNmU
function name:  (null)
number of ops:  7
compiled vars:  !0 = $path, !1 = $fileName
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'http%3A%2F%2Faiotv.tmsimg.com%2Fsources%2Fh3%2FNowShowing%2F21633%2Fs21633_h3_aa.png'
    3     1        INIT_FCALL                                               'basename'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $3      
          4        ASSIGN                                                   !1, $3
    4     5        ECHO                                                     !1
          6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.73 ms | 1394 KiB | 15 Q