3v4l.org

run code in 300+ PHP versions simultaneously
<?php $price = 5.93; $priceOld = $price *1.19; $priceNew = bcmul($price, 1.19, 2); echo $priceOld."\n"; echo $priceNew."\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/oOgaj
function name:  (null)
number of ops:  14
compiled vars:  !0 = $price, !1 = $priceOld, !2 = $priceNew
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 5.93
    4     1        MUL                                              ~4      !0, 1.19
          2        ASSIGN                                                   !1, ~4
    6     3        INIT_FCALL_BY_NAME                                       'bcmul'
          4        SEND_VAR_EX                                              !0
          5        SEND_VAL_EX                                              1.19
          6        SEND_VAL_EX                                              2
          7        DO_FCALL                                      0  $6      
          8        ASSIGN                                                   !2, $6
    8     9        CONCAT                                           ~8      !1, '%0A'
         10        ECHO                                                     ~8
    9    11        CONCAT                                           ~9      !2, '%0A'
         12        ECHO                                                     ~9
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.73 ms | 1393 KiB | 16 Q