3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = "0.0"; var_dump( floatval( $input ) === 0.0 ); $input = "0"; var_dump( floatval( $input ) === 0.0 );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/E63uP
function name:  (null)
number of ops:  13
compiled vars:  !0 = $input
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '0.0'
          1        INIT_FCALL                                               'var_dump'
          2        CAST                                          5  ~2      !0
          3        IS_IDENTICAL                                     ~3      ~2, 0
          4        SEND_VAL                                                 ~3
          5        DO_ICALL                                                 
    5     6        ASSIGN                                                   !0, '0'
          7        INIT_FCALL                                               'var_dump'
          8        CAST                                          5  ~6      !0
          9        IS_IDENTICAL                                     ~7      ~6, 0
         10        SEND_VAL                                                 ~7
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.64 ms | 1394 KiB | 15 Q