3v4l.org

run code in 300+ PHP versions simultaneously
<?php $html = "<b>I hate entities</b>"; $ohtml = htmlentities($html); $new_html = html_entity_decode($ohtml, ENT_QUOTES); echo $new_html;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ulKIa
function name:  (null)
number of ops:  12
compiled vars:  !0 = $html, !1 = $ohtml, !2 = $new_html
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%3Cb%3EI+hate+entities%3C%2Fb%3E'
    5     1        INIT_FCALL                                               'htmlentities'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $4      
          4        ASSIGN                                                   !1, $4
    7     5        INIT_FCALL                                               'html_entity_decode'
          6        SEND_VAR                                                 !1
          7        SEND_VAL                                                 3
          8        DO_ICALL                                         $6      
          9        ASSIGN                                                   !2, $6
    8    10        ECHO                                                     !2
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.94 ms | 1394 KiB | 17 Q