3v4l.org

run code in 300+ PHP versions simultaneously
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 13, Position 2 = 20
Branch analysis from position: 13
2 jumps found. (Code = 78) Position 1 = 14, Position 2 = 20
Branch analysis from position: 14
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 20
filename:       /in/Z9mUW
function name:  (null)
number of ops:  27
compiled vars:  !0 = $result, !1 = $dom, !2 = $link, !3 = $output
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%3Ca+href%3D%22SOME_URL%22%3E%0A++++%3Ca+href%3D%22SOME_URL_2%22%3E%0A++++++++%3Ca+href%3D%22SOME_URL_DEEP%22%3E%0A++++++++%3C%2Fa%3E%0A++++%3C%2Fa%3E%0A%3C%2Fa%3E%0A%0A%3Ca+href%3D%22SOME_URL3%22%3E%0A++++%3Ca+href%3D%22SOME_URL_4%22%3E%0A++++%3C%2Fa%3E%0A%3C%2Fa%3E%0A%0A%3Ca+href%3D%22SOME_URL_5%22%3E%0A%3C%2Fa%3E%0A%3Ca+href%3D%22SOME_URL_6%22%3E%0A%3C%2Fa%3E%0A'
   23     1        NEW                                              $5      'DOMDocument'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !1, $5
   24     4        BEGIN_SILENCE                                    ~8      
          5        INIT_METHOD_CALL                                         !1, 'loadHTML'
          6        SEND_VAR_EX                                              !0
          7        DO_FCALL                                      0          
          8        END_SILENCE                                              ~8
   27     9        INIT_METHOD_CALL                                         !1, 'getElementsByTagName'
         10        SEND_VAL_EX                                              'a'
         11        DO_FCALL                                      0  $10     
         12      > FE_RESET_R                                       $11     $10, ->20
         13    > > FE_FETCH_R                                               $11, !2, ->20
   28    14    >   INIT_METHOD_CALL                                         !2, 'getAttribute'
         15        SEND_VAL_EX                                              'href'
         16        DO_FCALL                                      0  $13     
         17        ASSIGN_DIM                                               !3
         18        OP_DATA                                                  $13
   27    19      > JMP                                                      ->13
         20    >   FE_FREE                                                  $11
   31    21        ECHO                                                     '%3Cpre%3E'
   32    22        INIT_FCALL                                               'print_r'
         23        SEND_VAR                                                 !3
         24        DO_ICALL                                                 
   33    25        ECHO                                                     '%3C%2Fpre%3E'
         26      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
192.84 ms | 967 KiB | 14 Q