3v4l.org

run code in 300+ PHP versions simultaneously
<?php header('Content-Type: application/json'); $miArray[]= array( "id" => "2C", "title" => "Llenado de la instalación", "txt" => "<p>Con la calefacción apagada</p>" ); die(json_encode($miArray));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 79) Position 1 = -2
filename:       /in/WKJPA
function name:  (null)
number of ops:  10
compiled vars:  !0 = $miArray
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'header'
          1        SEND_VAL                                                 'Content-Type%3A+application%2Fjson'
          2        DO_ICALL                                                 
    4     3        ASSIGN_DIM                                               !0
    5     4        OP_DATA                                                  <array>
   10     5        INIT_FCALL                                               'json_encode'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $3      
          8      > EXIT                                                     $3
          9*     > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.11 ms | 1394 KiB | 17 Q