3v4l.org

run code in 300+ PHP versions simultaneously
<?php $prijs = '001'; $aantal = '5'; $prijs = number_format($prijs, 2, '', '.'); $uitkomst = $prijs * $aantal; echo $uitkomst;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rrPhd
function name:  (null)
number of ops:  13
compiled vars:  !0 = $prijs, !1 = $aantal, !2 = $uitkomst
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, '001'
    5     1        ASSIGN                                                   !1, '5'
    7     2        INIT_FCALL                                               'number_format'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 2
          5        SEND_VAL                                                 ''
          6        SEND_VAL                                                 '.'
          7        DO_ICALL                                         $5      
          8        ASSIGN                                                   !0, $5
   10     9        MUL                                              ~7      !0, !1
         10        ASSIGN                                                   !2, ~7
   13    11        ECHO                                                     !2
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.29 ms | 1394 KiB | 15 Q