3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.54 ms | 1385 KiB | 15 Q