3v4l.org

run code in 300+ PHP versions simultaneously
<?php $path= "WEB/WEB-INF/classes/sure"; $elementrTokens = explode ('/', $path); while(count($elementrTokens) > 0){ $folderText =array_pop ($elementrTokens); echo "<a href=\"\">$folderText</a>/n"; } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
2 jumps found. (Code = 44) Position 1 = 18, Position 2 = 7
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
2 jumps found. (Code = 44) Position 1 = 18, Position 2 = 7
Branch analysis from position: 18
Branch analysis from position: 7
filename:       /in/OZpJZ
function name:  (null)
number of ops:  19
compiled vars:  !0 = $path, !1 = $elementrTokens, !2 = $folderText
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'WEB%2FWEB-INF%2Fclasses%2Fsure'
    5     1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 '%2F'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $4      
          5        ASSIGN                                                   !1, $4
    7     6      > JMP                                                      ->15
    8     7    >   INIT_FCALL                                               'array_pop'
          8        SEND_REF                                                 !1
          9        DO_ICALL                                         $6      
         10        ASSIGN                                                   !2, $6
    9    11        ROPE_INIT                                     3  ~9      '%3Ca+href%3D%22%22%3E'
         12        ROPE_ADD                                      1  ~9      ~9, !2
         13        ROPE_END                                      2  ~8      ~9, '%3C%2Fa%3E%2Fn'
         14        ECHO                                                     ~8
    7    15    >   COUNT                                            ~11     !1
         16        IS_SMALLER                                               0, ~11
         17      > JMPNZ                                                    ~12, ->7
   12    18    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.89 ms | 1395 KiB | 17 Q