3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xpath = "/bids_offers/market_submit/sem_gen_technical_offer/block_deloading/point[2]"; while ($xpath != "/bids_offers/market_submit") { $xpath = dirname($xpath); echo $xpath . "<br />"; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
2 jumps found. (Code = 44) Position 1 = 10, Position 2 = 2
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 10, Position 2 = 2
Branch analysis from position: 10
Branch analysis from position: 2
filename:       /in/l2KWQ
function name:  (null)
number of ops:  11
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      > JMP                                                      ->8
    4     2    >   INIT_FCALL                                               'dirname'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $2      
          5        ASSIGN                                                   !0, $2
    5     6        CONCAT                                           ~4      !0, '%3Cbr+%2F%3E'
          7        ECHO                                                     ~4
    3     8    >   IS_NOT_EQUAL                                             !0, '%2Fbids_offers%2Fmarket_submit'
          9      > JMPNZ                                                    ~5, ->2
    6    10    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
185.51 ms | 1394 KiB | 15 Q