3v4l.org

run code in 300+ PHP versions simultaneously
<?php $account_array["money"] = NULL; $increase = 10; $account_array["money"] = (array_key_exists("money", $account_array)) ? $account_array["money"] + $increase : $increase; echo $account_array["money"];
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 9
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Hd4vo
function name:  (null)
number of ops:  15
compiled vars:  !0 = $account_array, !1 = $increase
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN_DIM                                               !0, 'money'
          1        OP_DATA                                                  null
    4     2        ASSIGN                                                   !1, 10
    6     3        ARRAY_KEY_EXISTS                                         'money', !0
          4      > JMPZ                                                     ~5, ->9
          5    >   FETCH_DIM_R                                      ~6      !0, 'money'
          6        ADD                                              ~7      ~6, !1
          7        QM_ASSIGN                                        ~8      ~7
          8      > JMP                                                      ->10
          9    >   QM_ASSIGN                                        ~8      !1
         10    >   ASSIGN_DIM                                               !0, 'money'
         11        OP_DATA                                                  ~8
    8    12        FETCH_DIM_R                                      ~9      !0, 'money'
         13        ECHO                                                     ~9
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.32 ms | 1393 KiB | 13 Q