3v4l.org

run code in 300+ PHP versions simultaneously
<?php $box->insured_amount = 837 + 2.70 + ( intval( ceil((837-300)/100)) * 0.80); echo $box->insured_amount;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WERSr
function name:  (null)
number of ops:  11
compiled vars:  !0 = $box
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'ceil'
          1        SEND_VAL                                                 5.37
          2        DO_ICALL                                         $2      
          3        CAST                                          4  ~3      $2
          4        MUL                                              ~4      ~3, 0.8
          5        ADD                                              ~5      839.7, ~4
          6        ASSIGN_OBJ                                               !0, 'insured_amount'
          7        OP_DATA                                                  ~5
    4     8        FETCH_OBJ_R                                      ~6      !0, 'insured_amount'
          9        ECHO                                                     ~6
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.18 ms | 1398 KiB | 15 Q