3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "Enter Marvel.com, the best place to connect with other fans and get news about comics&#039; greatest super-heroes: Iron Man, Thor, Captain America, the X-Men, and more."; echo html_entity_decode($str); echo "<br>"; echo preg_replace("/&#?[a-z0-9]+;/i","",$str);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/i7K75
function name:  (null)
number of ops:  13
compiled vars:  !0 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'Enter+Marvel.com%2C+the+best+place+to+connect+with+other+fans+and+get+news+about+comics%26%23039%3B+greatest+super-heroes%3A+Iron+Man%2C+Thor%2C+Captain+America%2C+the+X-Men%2C+and+more.'
    5     1        INIT_FCALL                                               'html_entity_decode'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $2      
          4        ECHO                                                     $2
    7     5        ECHO                                                     '%3Cbr%3E'
    9     6        INIT_FCALL                                               'preg_replace'
          7        SEND_VAL                                                 '%2F%26%23%3F%5Ba-z0-9%5D%2B%3B%2Fi'
          8        SEND_VAL                                                 ''
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                         $3      
         11        ECHO                                                     $3
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.08 ms | 1394 KiB | 17 Q