3v4l.org

run code in 300+ PHP versions simultaneously
<?php $obj1 = new stdClass; $obj1Customised = new stdClass; $obj1->Customised = $obj1Customised; $obj1Customised->Original = $obj1; $obj2 = new stdClass; $obj2Customised = new stdClass; $obj2->Customised = $obj2Customised; $obj2Customised->Original = $obj2; $items = array($obj1, $obj2); array_multisort($items);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/g3LvZ
function name:  (null)
number of ops:  27
compiled vars:  !0 = $obj1, !1 = $obj1Customised, !2 = $obj2, !3 = $obj2Customised, !4 = $items
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $5      'stdClass'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $5
    4     3        NEW                                              $8      'stdClass'
          4        DO_FCALL                                      0          
          5        ASSIGN                                                   !1, $8
    5     6        ASSIGN_OBJ                                               !0, 'Customised'
          7        OP_DATA                                                  !1
    6     8        ASSIGN_OBJ                                               !1, 'Original'
          9        OP_DATA                                                  !0
    8    10        NEW                                              $13     'stdClass'
         11        DO_FCALL                                      0          
         12        ASSIGN                                                   !2, $13
    9    13        NEW                                              $16     'stdClass'
         14        DO_FCALL                                      0          
         15        ASSIGN                                                   !3, $16
   10    16        ASSIGN_OBJ                                               !2, 'Customised'
         17        OP_DATA                                                  !3
   11    18        ASSIGN_OBJ                                               !3, 'Original'
         19        OP_DATA                                                  !2
   13    20        INIT_ARRAY                                       ~21     !0
         21        ADD_ARRAY_ELEMENT                                ~21     !2
         22        ASSIGN                                                   !4, ~21
   15    23        INIT_FCALL                                               'array_multisort'
         24        SEND_REF                                                 !4
         25        DO_ICALL                                                 
         26      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
311.22 ms | 1395 KiB | 16 Q