3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 44946.4; $b = 2519.02; $c = 42427.38; $d = $a - $c; echo round($d); echo ' '; echo round($b); echo ' '; echo $d == $b ? 't' : 'f';
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 17, Position 2 = 19
Branch analysis from position: 17
1 jumps found. (Code = 42) Position 1 = 20
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/BjSD5
function name:  (null)
number of ops:  22
compiled vars:  !0 = $a, !1 = $b, !2 = $c, !3 = $d
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 44946.4
    4     1        ASSIGN                                                   !1, 2519.02
    5     2        ASSIGN                                                   !2, 42427.4
    7     3        SUB                                              ~7      !0, !2
          4        ASSIGN                                                   !3, ~7
    8     5        INIT_FCALL                                               'round'
          6        SEND_VAR                                                 !3
          7        DO_ICALL                                         $9      
          8        ECHO                                                     $9
    9     9        ECHO                                                     '+'
   10    10        INIT_FCALL                                               'round'
         11        SEND_VAR                                                 !1
         12        DO_ICALL                                         $10     
         13        ECHO                                                     $10
   11    14        ECHO                                                     '+'
   12    15        IS_EQUAL                                                 !3, !1
         16      > JMPZ                                                     ~11, ->19
         17    >   QM_ASSIGN                                        ~12     't'
         18      > JMP                                                      ->20
         19    >   QM_ASSIGN                                        ~12     'f'
         20    >   ECHO                                                     ~12
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.03 ms | 1395 KiB | 15 Q