3v4l.org

run code in 300+ PHP versions simultaneously
<?php print_r(htmlspecialchars(unichr(228))); function unichr($u) { return mb_convert_encoding('&#' . intval($u) . ';', 'UTF-8', 'HTML-ENTITIES'); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/RCn7R
function name:  (null)
number of ops:  10
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'print_r'
          1        INIT_FCALL                                               'htmlspecialchars'
          2        INIT_FCALL_BY_NAME                                       'unichr'
          3        SEND_VAL_EX                                              228
          4        DO_FCALL                                      0  $0      
          5        SEND_VAR                                                 $0
          6        DO_ICALL                                         $1      
          7        SEND_VAR                                                 $1
          8        DO_ICALL                                                 
    8     9      > RETURN                                                   1

Function unichr:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/RCn7R
function name:  unichr
number of ops:  11
compiled vars:  !0 = $u
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   RECV                                             !0      
    6     1        INIT_FCALL                                               'mb_convert_encoding'
          2        CAST                                          4  ~1      !0
          3        CONCAT                                           ~2      '%26%23', ~1
          4        CONCAT                                           ~3      ~2, '%3B'
          5        SEND_VAL                                                 ~3
          6        SEND_VAL                                                 'UTF-8'
          7        SEND_VAL                                                 'HTML-ENTITIES'
          8        DO_ICALL                                         $4      
          9      > RETURN                                                   $4
    8    10*     > RETURN                                                   null

End of function unichr

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.3 ms | 1386 KiB | 19 Q