3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = json_encode(array("title"=>utf8_encode('Noticias Bogotá'))); echo utf8_encode($text);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ilXUn
function name:  (null)
number of ops:  13
compiled vars:  !0 = $text
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'json_encode'
          1        INIT_FCALL                                               'utf8_encode'
          2        SEND_VAL                                                 'Noticias+Bogot%C3%A1'
          3        DO_ICALL                                         $1      
          4        INIT_ARRAY                                       ~2      $1, 'title'
          5        SEND_VAL                                                 ~2
          6        DO_ICALL                                         $3      
          7        ASSIGN                                                   !0, $3
    3     8        INIT_FCALL                                               'utf8_encode'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                         $5      
         11        ECHO                                                     $5
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.59 ms | 1394 KiB | 17 Q