3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo spl_object_id(new stdClass()) . "\n"; echo spl_object_hash(new stdClass()) . "\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/b4Z1G
function name:  (null)
number of ops:  15
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'spl_object_id'
          1        NEW                                              $0      'stdClass'
          2        DO_FCALL                                      0          
          3        SEND_VAR                                                 $0
          4        DO_ICALL                                         $2      
          5        CONCAT                                           ~3      $2, '%0A'
          6        ECHO                                                     ~3
    4     7        INIT_FCALL                                               'spl_object_hash'
          8        NEW                                              $4      'stdClass'
          9        DO_FCALL                                      0          
         10        SEND_VAR                                                 $4
         11        DO_ICALL                                         $6      
         12        CONCAT                                           ~7      $6, '%0A'
         13        ECHO                                                     ~7
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.41 ms | 997 KiB | 15 Q