3v4l.org

run code in 300+ PHP versions simultaneously
<?php $filename = basename( “/home/james/docs/index.html” );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9iTMm
function name:  (null)
number of ops:  16
compiled vars:  !0 = $filename
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'basename'
          1        FETCH_CONSTANT                                   ~1      '%E2%80%9C'
          2        FETCH_CONSTANT                                   ~2      'home'
          3        DIV                                              ~3      ~1, ~2
          4        FETCH_CONSTANT                                   ~4      'james'
          5        DIV                                              ~5      ~3, ~4
          6        FETCH_CONSTANT                                   ~6      'docs'
          7        DIV                                              ~7      ~5, ~6
          8        FETCH_CONSTANT                                   ~8      'index'
          9        DIV                                              ~9      ~7, ~8
         10        FETCH_CONSTANT                                   ~10     'html%E2%80%9D'
         11        CONCAT                                           ~11     ~9, ~10
         12        SEND_VAL                                                 ~11
         13        DO_ICALL                                         $12     
         14        ASSIGN                                                   !0, $12
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.89 ms | 939 KiB | 16 Q