3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = array( json_decode('{"foo":"bar"}'), "hello", 3, array("baz", "bay"), "world" );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/LtjHc
function name:  (null)
number of ops:  10
compiled vars:  !0 = $test
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'json_decode'
          1        SEND_VAL                                                 '%7B%22foo%22%3A%22bar%22%7D'
          2        DO_ICALL                                         $1      
          3        INIT_ARRAY                                       ~2      $1
    5     4        ADD_ARRAY_ELEMENT                                ~2      'hello'
    6     5        ADD_ARRAY_ELEMENT                                ~2      3
    4     6        ADD_ARRAY_ELEMENT                                ~2      <array>
    8     7        ADD_ARRAY_ELEMENT                                ~2      'world'
    3     8        ASSIGN                                                   !0, ~2
    9     9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.22 ms | 1394 KiB | 15 Q