3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = json_encode(utf8_encode(array("title"=>'Noticias Bogotá')),JSON_FORCE_OBJECT); echo $text;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/nE0Bn
function name:  (null)
number of ops:  10
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                                                 <array>
          3        DO_ICALL                                         $1      
          4        SEND_VAR                                                 $1
          5        SEND_VAL                                                 16
          6        DO_ICALL                                         $2      
          7        ASSIGN                                                   !0, $2
    3     8        ECHO                                                     !0
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.62 ms | 1394 KiB | 17 Q