3v4l.org

run code in 300+ PHP versions simultaneously
<?php print json_encode(array('ajajajaj'=>sjsjsjsjsj)) . PHP_EOL; print json_encode(array(array('noneke' => 'vlue')));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/spSrI
function name:  (null)
number of ops:  12
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'json_encode'
          1        FETCH_CONSTANT                                   ~0      'sjsjsjsjsj'
          2        INIT_ARRAY                                       ~1      ~0, 'ajajajaj'
          3        SEND_VAL                                                 ~1
          4        DO_ICALL                                         $2      
          5        CONCAT                                           ~3      $2, '%0A'
          6        ECHO                                                     ~3
    4     7        INIT_FCALL                                               'json_encode'
          8        SEND_VAL                                                 <array>
          9        DO_ICALL                                         $4      
         10        ECHO                                                     $4
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.3 ms | 1398 KiB | 15 Q