3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = 1 + 87.6 + 7.1; var_dump($x); // 95.7 var_dump($x == 95.7); // FALSE $x = 1 + 87.6; var_dump($x); // 88.6 var_dump($x == 88.6); // TRUE
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/kLpLM
function name:  (null)
number of ops:  17
compiled vars:  !0 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 95.7
    3     1        INIT_FCALL                                               'var_dump'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                                 
    4     4        INIT_FCALL                                               'var_dump'
          5        IS_EQUAL                                         ~3      !0, 95.7
          6        SEND_VAL                                                 ~3
          7        DO_ICALL                                                 
    6     8        ASSIGN                                                   !0, 88.6
    7     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                                 
    8    12        INIT_FCALL                                               'var_dump'
         13        IS_EQUAL                                         ~7      !0, 88.6
         14        SEND_VAL                                                 ~7
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.47 ms | 1394 KiB | 15 Q