3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = json_encode( array( 1 => array( 'English' => array( 'One', 'January' ), 'French' => array( 'Une', 'Janvier' ) ) ) ); echo $json;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/DnKqZ
function name:  (null)
number of ops:  6
compiled vars:  !0 = $json
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'json_encode'
    6     1        SEND_VAL                                                 <array>
          2        DO_ICALL                                         $1      
    2     3        ASSIGN                                                   !0, $1
   16     4        ECHO                                                     !0
          5      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.69 ms | 1397 KiB | 15 Q