3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.59 ms | 1394 KiB | 15 Q