3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(empty($void)); https://gathering.tweakers.net/forum/list_message/45543837#45543837 $inputs = array(0, 0.0, 0.00, 0.00000000000); foreach ($inputs as $v) { var_dump($v, empty($v)); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 6, Position 2 = 13
Branch analysis from position: 6
2 jumps found. (Code = 78) Position 1 = 7, Position 2 = 13
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
filename:       /in/qSPcI
function name:  (null)
number of ops:  15
compiled vars:  !0 = $void, !1 = $inputs, !2 = $v
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        ISSET_ISEMPTY_CV                                 ~3      !0
          2        SEND_VAL                                                 ~3
          3        DO_ICALL                                                 
    7     4        ASSIGN                                                   !1, <array>
    8     5      > FE_RESET_R                                       $6      !1, ->13
          6    > > FE_FETCH_R                                               $6, !2, ->13
   10     7    >   INIT_FCALL                                               'var_dump'
          8        SEND_VAR                                                 !2
          9        ISSET_ISEMPTY_CV                                 ~7      !2
         10        SEND_VAL                                                 ~7
         11        DO_ICALL                                                 
    8    12      > JMP                                                      ->6
         13    >   FE_FREE                                                  $6
   11    14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
138.9 ms | 997 KiB | 14 Q