3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var = array('text' => ''); $errors = array_filter($errors); if (empty($errors)) { echo "\nVazio"; } var_dump($errors); if (empty($values)) { echo "\nVazio"; } else { echo "Not vazio"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 8
Branch analysis from position: 7
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 15
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
filename:       /in/cKQqf
function name:  (null)
number of ops:  17
compiled vars:  !0 = $var, !1 = $errors, !2 = $values
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    4     1        INIT_FCALL                                               'array_filter'
          2        SEND_VAR                                                 !1
          3        DO_ICALL                                         $4      
          4        ASSIGN                                                   !1, $4
    6     5        ISSET_ISEMPTY_CV                                         !1
          6      > JMPZ                                                     ~6, ->8
    7     7    >   ECHO                                                     '%0AVazio'
    9     8    >   INIT_FCALL                                               'var_dump'
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                                 
   11    11        ISSET_ISEMPTY_CV                                         !2
         12      > JMPZ                                                     ~8, ->15
   13    13    >   ECHO                                                     '%0AVazio'
         14      > JMP                                                      ->16
   15    15    >   ECHO                                                     'Not+vazio'
   16    16    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.54 ms | 1395 KiB | 17 Q