3v4l.org

run code in 300+ PHP versions simultaneously
<?php $object = new \stdClass(); $object->currentMissionId = $this->currentMissionId; $object->currentMissionInitTs = $this->currentMissionInitTs; $object->quests = [ (object) ['id' => 1, 'points' => 5, 'claimed' => false] ]; $object->currentSubmissions = [ (object) [ 'id' => 1, 'purchasedPoints' => 1, 'points' => 5, 'currentPoolSize' => 40, 'lastProgressAddedAt' => 143576344], (object) [ 'id' => 2, 'purchasedPoints' => 1, 'points' => 5, 'currentPoolSize' => 40, 'lastProgressAddedAt' => 143576344], (object) [ 'id' => 3, 'purchasedPoints' => 1, 'points' => 5, 'currentPoolSize' => 40, 'lastProgressAddedAt' => 143576344], ]; var_dump($object);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7EeJp
function name:  (null)
number of ops:  27
compiled vars:  !0 = $object
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $1      'stdClass'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
    4     3        FETCH_THIS                                       $5      
          4        FETCH_OBJ_R                                      ~6      $5, 'currentMissionId'
          5        ASSIGN_OBJ                                               !0, 'currentMissionId'
          6        OP_DATA                                                  ~6
    5     7        FETCH_THIS                                       $8      
          8        FETCH_OBJ_R                                      ~9      $8, 'currentMissionInitTs'
          9        ASSIGN_OBJ                                               !0, 'currentMissionInitTs'
         10        OP_DATA                                                  ~9
    9    11        CAST                                          8  ~11     <array>
         12        INIT_ARRAY                                       ~12     ~11
    8    13        ASSIGN_OBJ                                               !0, 'quests'
    9    14        OP_DATA                                                  ~12
   15    15        CAST                                          8  ~14     <array>
         16        INIT_ARRAY                                       ~15     ~14
   20    17        CAST                                          8  ~16     <array>
         18        ADD_ARRAY_ELEMENT                                ~15     ~16
   25    19        CAST                                          8  ~17     <array>
         20        ADD_ARRAY_ELEMENT                                ~15     ~17
   14    21        ASSIGN_OBJ                                               !0, 'currentSubmissions'
   25    22        OP_DATA                                                  ~15
   32    23        INIT_FCALL                                               'var_dump'
         24        SEND_VAR                                                 !0
         25        DO_ICALL                                                 
         26      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.38 ms | 1395 KiB | 15 Q