3v4l.org

run code in 300+ PHP versions simultaneously
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9euO6
function name:  (null)
number of ops:  25
compiled vars:  !0 = $html, !1 = $dom
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   14     0  E >   ASSIGN                                                   !0, '%3Col%3E%0A++++%3Cli%3E31%3C%2Fli%3E%0A++++%3Cli%3E32%3C%2Fli%3E%0A++++%3Cli%3E33%3C%2Fli%3E%0A++++%3Cli%3E34%3C%2Fli%3E%0A++++%3Cli%3E%0A++++++++%3Col%3E%0A++++++++++++%3Cli%3E341%3C%2Fli%3E%0A++++++++++++%3Cli%3E342%3C%2Fli%3E%0A++++++++++++%3Cli%3E343%3C%2Fli%3E%0A++++++++++++%3Cli%3E344%3C%2Fli%3E%0A++++++++++++%3Cli%3E%0A++++++++++++++++%3Col%3E%0A++++++++++++++++++++%3Cli%3E3441%3C%2Fli%3E%0A++++++++++++++++++++%3Cli%3E3442%3C%2Fli%3E%0A++++++++++++++++++++%3Cli%3E3443%3C%2Fli%3E%0A++++++++++++++++++++%3Cli%3E3444%3C%2Fli%3E%0A++++++++++++++++%3C%2Fol%3E%0A++++++++++++%3C%2Fli%3E%0A++++++++%3C%2Fol%3E%0A++++%3C%2Fli%3E%0A%3C%2Fol%3E'
   39     1        NEW                                              $3      'DOMDocument'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !1, $3
   40     4        INIT_METHOD_CALL                                         !1, 'loadHTML'
          5        SEND_VAR_EX                                              !0
          6        SEND_VAL_EX                                              8196
          7        DO_FCALL                                      0          
   41     8        INIT_FCALL                                               'var_export'
   42     9        INIT_FCALL                                               'parseorderedlist'
         10        NEW                                              $7      'DOMXPath'
         11        SEND_VAR_EX                                              !1
         12        DO_FCALL                                      0          
         13        SEND_VAR                                                 $7
         14        INIT_METHOD_CALL                                         !1, 'getElementsByTagName'
         15        SEND_VAL_EX                                              'ol'
         16        DO_FCALL                                      0  $9      
         17        INIT_METHOD_CALL                                         $9, 'item'
         18        SEND_VAL_EX                                              0
         19        DO_FCALL                                      0  $10     
         20        SEND_VAR                                                 $10
         21        DO_FCALL                                      0  $11     
         22        SEND_VAR                                                 $11
   41    23        DO_ICALL                                                 
   43    24      > RETURN                                                   1

Function parseorderedlist:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 8, Position 2 = 13
Branch analysis from position: 8
2 jumps found. (Code = 78) Position 1 = 9, Position 2 = 13
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
Branch analysis from position: 13
2 jumps found. (Code = 77) Position 1 = 19, Position 2 = 27
Branch analysis from position: 19
2 jumps found. (Code = 78) Position 1 = 20, Position 2 = 27
Branch analysis from position: 20
1 jumps found. (Code = 42) Position 1 = 19
Branch analysis from position: 19
Branch analysis from position: 27
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 27
Branch analysis from position: 13
filename:       /in/9euO6
function name:  parseOrderedList
number of ops:  30
compiled vars:  !0 = $xpath, !1 = $node, !2 = $result, !3 = $li, !4 = $ol
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
          1        RECV                                             !1      
    4     2        ASSIGN                                                   !2, <array>
    5     3        INIT_METHOD_CALL                                         !0, 'query'
          4        SEND_VAL_EX                                              'li%5Bnot%28ol%29+and+string-length%28text%28%29%29+%3E+0%5D'
          5        SEND_VAR_EX                                              !1
          6        DO_FCALL                                      0  $6      
          7      > FE_RESET_R                                       $7      $6, ->13
          8    > > FE_FETCH_R                                               $7, !3, ->13
    6     9    >   FETCH_OBJ_R                                      ~9      !3, 'nodeValue'
         10        ASSIGN_DIM                                               !2
         11        OP_DATA                                                  ~9
    5    12      > JMP                                                      ->8
         13    >   FE_FREE                                                  $7
    8    14        INIT_METHOD_CALL                                         !0, 'query'
         15        SEND_VAL_EX                                              'li%2Fol'
         16        SEND_VAR_EX                                              !1
         17        DO_FCALL                                      0  $10     
         18      > FE_RESET_R                                       $11     $10, ->27
         19    > > FE_FETCH_R                                               $11, !4, ->27
    9    20    >   INIT_FCALL_BY_NAME                                       'parseOrderedList'
         21        SEND_VAR_EX                                              !0
         22        SEND_VAR_EX                                              !4
         23        DO_FCALL                                      0  $13     
         24        ASSIGN_DIM                                               !2
         25        OP_DATA                                                  $13
    8    26      > JMP                                                      ->19
         27    >   FE_FREE                                                  $11
   11    28      > RETURN                                                   !2
   12    29*     > RETURN                                                   null

End of function parseorderedlist

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.51 ms | 976 KiB | 15 Q