3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test_array = array( 0xcc5c4600 => 1, 0xce331a00 => 2 ); $test_array[0xce359000] = 3; var_dump($test_array); var_dump($test_array[0xce331a00]); class foo { public $x; public function __construct() { $this->x[0xce359000] = 3; var_dump($this->x); } } new foo; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/r6Ome
function name:  (null)
number of ops:  14
compiled vars:  !0 = $test_array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    7     1        ASSIGN_DIM                                               !0, 3459616768
          2        OP_DATA                                                  3
    9     3        INIT_FCALL                                               'var_dump'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                                 
   10     6        INIT_FCALL                                               'var_dump'
          7        FETCH_DIM_R                                      ~4      !0, 3459455488
          8        SEND_VAL                                                 ~4
          9        DO_ICALL                                                 
   21    10        NEW                                              $6      'foo'
         11        DO_FCALL                                      0          
         12        FREE                                                     $6
   23    13      > RETURN                                                   1

Class foo:
Function __construct:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/r6Ome
function name:  __construct
number of ops:  8
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   16     0  E >   FETCH_OBJ_W                                      $0      'x'
          1        ASSIGN_DIM                                               $0, 3459616768
          2        OP_DATA                                                  3
   17     3        INIT_FCALL                                               'var_dump'
          4        FETCH_OBJ_R                                      ~2      'x'
          5        SEND_VAL                                                 ~2
          6        DO_ICALL                                                 
   18     7      > RETURN                                                   null

End of function __construct

End of class foo.

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.29 ms | 1395 KiB | 15 Q