3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dirty_html = array('name' => 'dani ', 'comment' => 'hallo>><<<'); $config = HTMLPurifier_Config::createDefault(); $purifier = new HTMLPurifier($config); $clean_html = $purifier->purify($dirty_html);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/P1KEl
function name:  (null)
number of ops:  13
compiled vars:  !0 = $dirty_html, !1 = $config, !2 = $purifier, !3 = $clean_html
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    4     1        INIT_STATIC_METHOD_CALL                                  'HTMLPurifier_Config', 'createDefault'
          2        DO_FCALL                                      0  $5      
          3        ASSIGN                                                   !1, $5
    5     4        NEW                                              $7      'HTMLPurifier'
          5        SEND_VAR_EX                                              !1
          6        DO_FCALL                                      0          
          7        ASSIGN                                                   !2, $7
    6     8        INIT_METHOD_CALL                                         !2, 'purify'
          9        SEND_VAR_EX                                              !0
         10        DO_FCALL                                      0  $10     
         11        ASSIGN                                                   !3, $10
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.8 ms | 938 KiB | 14 Q