3v4l.org

run code in 300+ PHP versions simultaneously
<?php $orig = "Qébeq"; $a = htmlentities($orig); $b = html_entity_decode($a); echo $a; // I'll &quot;walk&quot; the &lt;b&gt;dog&lt;/b&gt; now echo "\n"; echo $b; // I'll "walk" the <b>dog</b> now ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GEt4R
function name:  (null)
number of ops:  13
compiled vars:  !0 = $orig, !1 = $a, !2 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'Q%C3%A9beq'
    4     1        INIT_FCALL                                               'htmlentities'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $4      
          4        ASSIGN                                                   !1, $4
    6     5        INIT_FCALL                                               'html_entity_decode'
          6        SEND_VAR                                                 !1
          7        DO_ICALL                                         $6      
          8        ASSIGN                                                   !2, $6
    8     9        ECHO                                                     !1
    9    10        ECHO                                                     '%0A'
   10    11        ECHO                                                     !2
   11    12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.07 ms | 1394 KiB | 17 Q