3v4l.org

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

Function unichr:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5102N
function name:  unichr
number of ops:  11
compiled vars:  !0 = $u
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
    4     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
    5    10*     > RETURN                                                   null

End of function unichr

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.2 ms | 1397 KiB | 16 Q