3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.42 ms | 1394 KiB | 18 Q