3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xpath = "/bids_offers/market_submit/sem_gen_technical_offer/block_deloading/point[2]"; $xpath = dirname($xpath); echo $xpath;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5AeZ2
function name:  (null)
number of ops:  7
compiled vars:  !0 = $xpath
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%2Fbids_offers%2Fmarket_submit%2Fsem_gen_technical_offer%2Fblock_deloading%2Fpoint%5B2%5D'
    3     1        INIT_FCALL                                               'dirname'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $2      
          4        ASSIGN                                                   !0, $2
    4     5        ECHO                                                     !0
          6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.55 ms | 1393 KiB | 15 Q