3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "Doplňkové služby"; $e = html_entity_encode($str, ENT_COMPAT, "UTF-8"); $d = html_entity_decode($e, ENT_COMPAT, "UTF-8"); print_r($e); print_r($d);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Chood
function name:  (null)
number of ops:  20
compiled vars:  !0 = $str, !1 = $e, !2 = $d
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'Dopl%C5%88kov%C3%A9+slu%C5%BEby'
    5     1        INIT_FCALL_BY_NAME                                       'html_entity_encode'
          2        SEND_VAR_EX                                              !0
          3        SEND_VAL_EX                                              2
          4        SEND_VAL_EX                                              'UTF-8'
          5        DO_FCALL                                      0  $4      
          6        ASSIGN                                                   !1, $4
    6     7        INIT_FCALL                                               'html_entity_decode'
          8        SEND_VAR                                                 !1
          9        SEND_VAL                                                 2
         10        SEND_VAL                                                 'UTF-8'
         11        DO_ICALL                                         $6      
         12        ASSIGN                                                   !2, $6
    8    13        INIT_FCALL                                               'print_r'
         14        SEND_VAR                                                 !1
         15        DO_ICALL                                                 
    9    16        INIT_FCALL                                               'print_r'
         17        SEND_VAR                                                 !2
         18        DO_ICALL                                                 
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.07 ms | 1395 KiB | 17 Q