3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 0.00; $b = -12; $x = $a * $b; var_dump($x == 0); if($x) { echo 3; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 10
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
filename:       /in/6t00V
function name:  (null)
number of ops:  11
compiled vars:  !0 = $a, !1 = $b, !2 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 0
    3     1        ASSIGN                                                   !1, -12
    4     2        MUL                                              ~5      !0, !1
          3        ASSIGN                                                   !2, ~5
    6     4        INIT_FCALL                                               'var_dump'
          5        IS_EQUAL                                         ~7      !2, 0
          6        SEND_VAL                                                 ~7
          7        DO_ICALL                                                 
    8     8      > JMPZ                                                     !2, ->10
    9     9    >   ECHO                                                     3
   10    10    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.8 ms | 1385 KiB | 15 Q