3v4l.org

run code in 300+ PHP versions simultaneously
<?php $insertData = Array( 'handle' => isset($data->pool->handle) ? $data->pool->handle : '', 'income_total' => isset($data->income_total->amount) ? ($data->income_total->amount+$data->liability_total->amount) : 0.0, 'income_total_currency' => isset($data->income_total->currency) ? $data->income_total->currency : '', 'total_purchases' => 0 );
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 7
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 19
Branch analysis from position: 12
1 jumps found. (Code = 42) Position 1 = 20
Branch analysis from position: 20
2 jumps found. (Code = 43) Position 1 = 24, Position 2 = 28
Branch analysis from position: 24
1 jumps found. (Code = 42) Position 1 = 29
Branch analysis from position: 29
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 28
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 19
2 jumps found. (Code = 43) Position 1 = 24, Position 2 = 28
Branch analysis from position: 24
Branch analysis from position: 28
Branch analysis from position: 7
2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 19
Branch analysis from position: 12
Branch analysis from position: 19
filename:       /in/jd7N5
function name:  (null)
number of ops:  33
compiled vars:  !0 = $insertData, !1 = $data
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   FETCH_OBJ_IS                                     ~2      !1, 'pool'
          1        ISSET_ISEMPTY_PROP_OBJ                                   ~2, 'handle'
          2      > JMPZ                                                     ~3, ->7
          3    >   FETCH_OBJ_R                                      ~4      !1, 'pool'
          4        FETCH_OBJ_R                                      ~5      ~4, 'handle'
          5        QM_ASSIGN                                        ~6      ~5
          6      > JMP                                                      ->8
          7    >   QM_ASSIGN                                        ~6      ''
          8    >   INIT_ARRAY                                       ~7      ~6, 'handle'
    5     9        FETCH_OBJ_IS                                     ~8      !1, 'income_total'
         10        ISSET_ISEMPTY_PROP_OBJ                                   ~8, 'amount'
         11      > JMPZ                                                     ~9, ->19
         12    >   FETCH_OBJ_R                                      ~10     !1, 'income_total'
         13        FETCH_OBJ_R                                      ~11     ~10, 'amount'
         14        FETCH_OBJ_R                                      ~12     !1, 'liability_total'
         15        FETCH_OBJ_R                                      ~13     ~12, 'amount'
         16        ADD                                              ~14     ~11, ~13
         17        QM_ASSIGN                                        ~15     ~14
         18      > JMP                                                      ->20
         19    >   QM_ASSIGN                                        ~15     0
         20    >   ADD_ARRAY_ELEMENT                                ~7      ~15, 'income_total'
    6    21        FETCH_OBJ_IS                                     ~16     !1, 'income_total'
         22        ISSET_ISEMPTY_PROP_OBJ                                   ~16, 'currency'
         23      > JMPZ                                                     ~17, ->28
         24    >   FETCH_OBJ_R                                      ~18     !1, 'income_total'
         25        FETCH_OBJ_R                                      ~19     ~18, 'currency'
         26        QM_ASSIGN                                        ~20     ~19
         27      > JMP                                                      ->29
         28    >   QM_ASSIGN                                        ~20     ''
         29    >   ADD_ARRAY_ELEMENT                                ~7      ~20, 'income_total_currency'
    7    30        ADD_ARRAY_ELEMENT                                ~7      0, 'total_purchases'
    3    31        ASSIGN                                                   !0, ~7
    8    32      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.72 ms | 1399 KiB | 13 Q