3v4l.org

run code in 300+ PHP versions simultaneously
<?php $investCom = $data->field_field_investor_commitment[0]['rendered'] * 1.0; $mortAmount = $data->field_field_amount_new[0]['rendered'] * 1.0; $comm = (float)$investCom; $mort = (float)$mortAmount; $balance = $comm - $mort; echo $balance;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/VgXuc
function name:  (null)
number of ops:  18
compiled vars:  !0 = $investCom, !1 = $data, !2 = $mortAmount, !3 = $comm, !4 = $mort, !5 = $balance
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   FETCH_OBJ_R                                      ~6      !1, 'field_field_investor_commitment'
          1        FETCH_DIM_R                                      ~7      ~6, 0
          2        FETCH_DIM_R                                      ~8      ~7, 'rendered'
          3        MUL                                              ~9      ~8, 1
          4        ASSIGN                                                   !0, ~9
    3     5        FETCH_OBJ_R                                      ~11     !1, 'field_field_amount_new'
          6        FETCH_DIM_R                                      ~12     ~11, 0
          7        FETCH_DIM_R                                      ~13     ~12, 'rendered'
          8        MUL                                              ~14     ~13, 1
          9        ASSIGN                                                   !2, ~14
    4    10        CAST                                          5  ~16     !0
         11        ASSIGN                                                   !3, ~16
    5    12        CAST                                          5  ~18     !2
         13        ASSIGN                                                   !4, ~18
    6    14        SUB                                              ~20     !3, !4
         15        ASSIGN                                                   !5, ~20
    7    16        ECHO                                                     !5
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.17 ms | 1384 KiB | 13 Q