3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = array("", null, 1, "1", array(), StdObject(), 0, "0");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mc8iW
function name:  (null)
number of ops:  12
compiled vars:  !0 = $test
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_ARRAY                                       ~1      ''
          1        ADD_ARRAY_ELEMENT                                ~1      null
          2        ADD_ARRAY_ELEMENT                                ~1      1
          3        ADD_ARRAY_ELEMENT                                ~1      '1'
          4        ADD_ARRAY_ELEMENT                                ~1      <array>
          5        INIT_FCALL_BY_NAME                                       'StdObject'
          6        DO_FCALL                                      0  $2      
          7        ADD_ARRAY_ELEMENT                                ~1      $2
          8        ADD_ARRAY_ELEMENT                                ~1      0
          9        ADD_ARRAY_ELEMENT                                ~1      '0'
         10        ASSIGN                                                   !0, ~1
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.67 ms | 1392 KiB | 13 Q