3v4l.org

run code in 300+ PHP versions simultaneously
<?php $html = "\x00test"; // Specify configuration $config = array( 'indent' => true, 'output-xhtml' => true, 'wrap' => 200); // Tidy $tidy = new tidy; $tidy->parseString($html, $config, 'utf8'); $tidy->cleanRepair(); // Output echo $tidy;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KMN1s
function name:  (null)
number of ops:  14
compiled vars:  !0 = $html, !1 = $config, !2 = $tidy
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%00test'
    6     1        ASSIGN                                                   !1, <array>
   12     2        NEW                                              $5      'tidy'
          3        DO_FCALL                                      0          
          4        ASSIGN                                                   !2, $5
   13     5        INIT_METHOD_CALL                                         !2, 'parseString'
          6        SEND_VAR_EX                                              !0
          7        SEND_VAR_EX                                              !1
          8        SEND_VAL_EX                                              'utf8'
          9        DO_FCALL                                      0          
   14    10        INIT_METHOD_CALL                                         !2, 'cleanRepair'
         11        DO_FCALL                                      0          
   17    12        ECHO                                                     !2
   18    13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.18 ms | 1067 KiB | 13 Q