3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.1 ms | 1394 KiB | 17 Q