3v4l.org

run code in 300+ PHP versions simultaneously
<?php $obj1 = new stdClass; $obj2 = new stdClass; assert($obj1 != $obj2); assert($obj1 !== $obj2);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/N3Mjk
function name:  (null)
number of ops:  19
compiled vars:  !0 = $obj1, !1 = $obj2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   NEW                                              $2      'stdClass'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $2
    3     3        NEW                                              $5      'stdClass'
          4        DO_FCALL                                      0          
          5        ASSIGN                                                   !1, $5
    4     6        ASSERT_CHECK                                             
          7        INIT_FCALL                                               'assert'
          8        IS_NOT_EQUAL                                     ~8      !0, !1
          9        SEND_VAL                                                 ~8
         10        SEND_VAL                                                 'assert%28%24obj1+%21%3D+%24obj2%29'
         11        DO_ICALL                                                 
    5    12        ASSERT_CHECK                                             
         13        INIT_FCALL                                               'assert'
         14        IS_NOT_IDENTICAL                                 ~10     !0, !1
         15        SEND_VAL                                                 ~10
         16        SEND_VAL                                                 'assert%28%24obj1+%21%3D%3D+%24obj2%29'
         17        DO_ICALL                                                 
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.19 ms | 1386 KiB | 15 Q