3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = Array ( "[", " [", " [", "Test", "Server1", null, "Server2", null, "", "stopped", " ]", " ]", "]" ); $res = preg_grep("/^\h*[][]\h*$/", $array, PREG_GREP_INVERT); var_export($res);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/76RpE
function name:  (null)
number of ops:  11
compiled vars:  !0 = $array, !1 = $res
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   20     1        INIT_FCALL                                               'preg_grep'
          2        SEND_VAL                                                 '%2F%5E%5Ch%2A%5B%5D%5B%5D%5Ch%2A%24%2F'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 1
          5        DO_ICALL                                         $3      
          6        ASSIGN                                                   !1, $3
   21     7        INIT_FCALL                                               'var_export'
          8        SEND_VAR                                                 !1
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.79 ms | 1013 KiB | 15 Q