3v4l.org

run code in 300+ PHP versions simultaneously
<?php $values = array( 'string_empty' => '', 'string_bool_f' => 'false', 'string_bool_t' => 'true', 'int_0' => 0, 'int_1' => 1, 'int_neg' => -100, 'int_norm' => 100, 'array_empty' => array(), 'array_null_val' => array(null), ); foreach ($values as $name => $val) { if (!empty($val)) { echo "$name isn't considered empty!". PHP_EOL; } }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 2, Position 2 = 12
Branch analysis from position: 2
2 jumps found. (Code = 78) Position 1 = 3, Position 2 = 12
Branch analysis from position: 3
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 11
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 2
Branch analysis from position: 2
Branch analysis from position: 11
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
filename:       /in/QueT1
function name:  (null)
number of ops:  14
compiled vars:  !0 = $values, !1 = $val, !2 = $name
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   15     1      > FE_RESET_R                                       $4      !0, ->12
          2    > > FE_FETCH_R                                       ~5      $4, !1, ->12
          3    >   ASSIGN                                                   !2, ~5
   16     4        ISSET_ISEMPTY_CV                                 ~7      !1
          5        BOOL_NOT                                         ~8      ~7
          6      > JMPZ                                                     ~8, ->11
   17     7    >   NOP                                                      
          8        FAST_CONCAT                                      ~9      !2, '+isn%27t+considered+empty%21'
          9        CONCAT                                           ~10     ~9, '%0A'
         10        ECHO                                                     ~10
   15    11    > > JMP                                                      ->2
         12    >   FE_FREE                                                  $4
   19    13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.17 ms | 1384 KiB | 13 Q