3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.36 ms | 1394 KiB | 15 Q