3v4l.org

run code in 300+ PHP versions simultaneously
<?php $stringHTML= "Software de comunicaciĆ³n"; $html = get_html_translation_table(HTML_ENTITIES, ENT_NOQUOTES | ENT_HTML5, "ISO-8859-1"); unset($html["<"]); unset($html[">"]); $reemplazar = array_keys($html);print_r($reemplazar); $reemplazo = array_values($html);print_r($reemplazo); echo str_replace($reemplazar, $reemplazo, $stringHTML); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZdVKU
function name:  (null)
number of ops:  30
compiled vars:  !0 = $stringHTML, !1 = $html, !2 = $reemplazar, !3 = $reemplazo
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ASSIGN                                                   !0, 'Software+de+comunicaci%C3%B3n'
    2     1        INIT_FCALL                                               'get_html_translation_table'
          2        SEND_VAL                                                 1
          3        SEND_VAL                                                 48
          4        SEND_VAL                                                 'ISO-8859-1'
          5        DO_ICALL                                         $5      
          6        ASSIGN                                                   !1, $5
    3     7        UNSET_DIM                                                !1, '%3C'
    4     8        UNSET_DIM                                                !1, '%3E'
    5     9        INIT_FCALL                                               'array_keys'
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                         $7      
         12        ASSIGN                                                   !2, $7
         13        INIT_FCALL                                               'print_r'
         14        SEND_VAR                                                 !2
         15        DO_ICALL                                                 
    6    16        INIT_FCALL                                               'array_values'
         17        SEND_VAR                                                 !1
         18        DO_ICALL                                         $10     
         19        ASSIGN                                                   !3, $10
         20        INIT_FCALL                                               'print_r'
         21        SEND_VAR                                                 !3
         22        DO_ICALL                                                 
    7    23        INIT_FCALL                                               'str_replace'
         24        SEND_VAR                                                 !2
         25        SEND_VAR                                                 !3
         26        SEND_VAR                                                 !0
         27        DO_ICALL                                         $13     
         28        ECHO                                                     $13
    8    29      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.55 ms | 1395 KiB | 23 Q