3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.54 ms | 1394 KiB | 17 Q