3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.9 ms | 1394 KiB | 15 Q