3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.13 ms | 1394 KiB | 17 Q