3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test1 = new \ArrayObject(array('test'),1); $test2 = new \ArrayObject(array('test')); var_dump($test1 === $test2);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Cj1tr
function name:  (null)
number of ops:  14
compiled vars:  !0 = $test1, !1 = $test2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $2      'ArrayObject'
          1        SEND_VAL_EX                                              <array>
          2        SEND_VAL_EX                                              1
          3        DO_FCALL                                      0          
          4        ASSIGN                                                   !0, $2
    4     5        NEW                                              $5      'ArrayObject'
          6        SEND_VAL_EX                                              <array>
          7        DO_FCALL                                      0          
          8        ASSIGN                                                   !1, $5
    6     9        INIT_FCALL                                               'var_dump'
         10        IS_IDENTICAL                                     ~8      !0, !1
         11        SEND_VAL                                                 ~8
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.25 ms | 1385 KiB | 15 Q