3v4l.org

run code in 300+ PHP versions simultaneously
<?php /* $o = new stdClass; $id = -99; $a = array('id' => $id, 'name' => 'bill'); $o->$id = $a; var_export($o); */ $o = (object) array(-99 => array('id' => -99, 'name' => 'bill')); var_export($o);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pWHq2
function name:  (null)
number of ops:  6
compiled vars:  !0 = $o
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   CAST                                          8  ~1      <array>
          1        ASSIGN                                                   !0, ~1
   10     2        INIT_FCALL                                               'var_export'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                                 
          5      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.96 ms | 1393 KiB | 15 Q