3v4l.org

run code in 300+ PHP versions simultaneously
<?php class a {} $a=new a; $aa=new a; $aaa=new a; echo(spl_object_hash($a)."\n".spl_object_hash($aa)."\n".spl_object_hash($aaa)."\n");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tj96q
function name:  (null)
number of ops:  25
compiled vars:  !0 = $a, !1 = $aa, !2 = $aaa
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $3      'a'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $3
    4     3        NEW                                              $6      'a'
          4        DO_FCALL                                      0          
          5        ASSIGN                                                   !1, $6
    5     6        NEW                                              $9      'a'
          7        DO_FCALL                                      0          
          8        ASSIGN                                                   !2, $9
    6     9        INIT_FCALL                                               'spl_object_hash'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                         $12     
         12        CONCAT                                           ~13     $12, '%0A'
         13        INIT_FCALL                                               'spl_object_hash'
         14        SEND_VAR                                                 !1
         15        DO_ICALL                                         $14     
         16        CONCAT                                           ~15     ~13, $14
         17        CONCAT                                           ~16     ~15, '%0A'
         18        INIT_FCALL                                               'spl_object_hash'
         19        SEND_VAR                                                 !2
         20        DO_ICALL                                         $17     
         21        CONCAT                                           ~18     ~16, $17
         22        CONCAT                                           ~19     ~18, '%0A'
         23        ECHO                                                     ~19
         24      > RETURN                                                   1

Class a: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.28 ms | 1395 KiB | 15 Q