3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sZahl = '45.1'; var_dump($sZahl); $fZahl = ($sZahl / 1.19); var_dump($fZahl); $fZahl = $fZahl.''; $fZahl = ($fZahl * 1.19); var_dump($fZahl); var_dump(round($fZahl, 3));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/I7TLR
function name:  (null)
number of ops:  24
compiled vars:  !0 = $sZahl, !1 = $fZahl
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '45.1'
    3     1        INIT_FCALL                                               'var_dump'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                                 
    5     4        DIV                                              ~4      !0, 1.19
          5        ASSIGN                                                   !1, ~4
    6     6        INIT_FCALL                                               'var_dump'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                                 
    7     9        CONCAT                                           ~7      !1, ''
         10        ASSIGN                                                   !1, ~7
    9    11        MUL                                              ~9      !1, 1.19
         12        ASSIGN                                                   !1, ~9
   10    13        INIT_FCALL                                               'var_dump'
         14        SEND_VAR                                                 !1
         15        DO_ICALL                                                 
   13    16        INIT_FCALL                                               'var_dump'
         17        INIT_FCALL                                               'round'
         18        SEND_VAR                                                 !1
         19        SEND_VAL                                                 3
         20        DO_ICALL                                         $12     
         21        SEND_VAR                                                 $12
         22        DO_ICALL                                                 
         23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.19 ms | 1386 KiB | 17 Q