3v4l.org

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

Class test: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.16 ms | 1394 KiB | 17 Q