3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 1095362.2362548; $b =155482.94974120325; $result = $a + $b; echo number_format(floor($result),'2','.',',');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/RKh57
function name:  (null)
number of ops:  15
compiled vars:  !0 = $a, !1 = $b, !2 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 1.09536e+6
    5     1        ASSIGN                                                   !1, 155483
    7     2        ADD                                              ~5      !0, !1
          3        ASSIGN                                                   !2, ~5
    9     4        INIT_FCALL                                               'number_format'
          5        INIT_FCALL                                               'floor'
          6        SEND_VAR                                                 !2
          7        DO_ICALL                                         $7      
          8        SEND_VAR                                                 $7
          9        SEND_VAL                                                 '2'
         10        SEND_VAL                                                 '.'
         11        SEND_VAL                                                 '%2C'
         12        DO_ICALL                                         $8      
         13        ECHO                                                     $8
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.09 ms | 1394 KiB | 17 Q