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 = 19, Position 2 = 28
Branch analysis from position: 19
2 jumps found. (Code = 78) Position 1 = 20, Position 2 = 28
Branch analysis from position: 20
1 jumps found. (Code = 42) Position 1 = 19
Branch analysis from position: 19
Branch analysis from position: 28
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 28
filename:       /in/Z4uQ0
function name:  (null)
number of ops:  33
compiled vars:  !0 = $content, !1 = $dom, !2 = $tables, !3 = $table, !4 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%3Ctable%3E%3C%2Ftable%3E%3Cp%3E%3C%2Fp%3E%3Ctable%3E%3C%2Ftable%3E%3Cp%3E%3C%2Fp%3E%3Ctable%3E%3C%2Ftable%3E%3Cp%3E%3C%2Fp%3E'
    5     1        NEW                                              $6      'DOMDocument'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !1, $6
    6     4        INIT_FCALL                                               'libxml_use_internal_errors'
          5        SEND_VAL                                                 <true>
          6        DO_ICALL                                                 
    7     7        INIT_METHOD_CALL                                         !1, 'loadHTML'
          8        SEND_VAR_EX                                              !0
          9        SEND_VAL_EX                                              8196
         10        DO_FCALL                                      0          
    8    11        INIT_FCALL                                               'libxml_use_internal_errors'
         12        SEND_VAL                                                 <false>
         13        DO_ICALL                                                 
    9    14        INIT_METHOD_CALL                                         !1, 'getElementsByTagName'
         15        SEND_VAL_EX                                              'table'
         16        DO_FCALL                                      0  $12     
         17        ASSIGN                                                   !2, $12
   10    18      > FE_RESET_R                                       $14     !2, ->28
         19    > > FE_FETCH_R                                       ~15     $14, !3, ->28
         20    >   ASSIGN                                                   !4, ~15
   11    21        INIT_METHOD_CALL                                         !3, 'setAttribute'
         22        SEND_VAL_EX                                              'class'
         23        NOP                                                      
         24        FAST_CONCAT                                      ~17     'table_', !4
         25        SEND_VAL_EX                                              ~17
         26        DO_FCALL                                      0          
   10    27      > JMP                                                      ->19
         28    >   FE_FREE                                                  $14
   14    29        INIT_METHOD_CALL                                         !1, 'saveHTML'
         30        DO_FCALL                                      0  $19     
         31        ECHO                                                     $19
         32      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
235.16 ms | 968 KiB | 14 Q