3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.36 ms | 1394 KiB | 15 Q