3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ourArray[0] = "a"; $ourArray[1] = "bb"; $ourArray[2] = "c"; $ourArray[3] = "ddd"; var_export( preg_grep('/^.$/u', $ourArray, PREG_GREP_INVERT) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/XN3DQ
function name:  (null)
number of ops:  17
compiled vars:  !0 = $ourArray
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN_DIM                                               !0, 0
          1        OP_DATA                                                  'a'
    4     2        ASSIGN_DIM                                               !0, 1
          3        OP_DATA                                                  'bb'
    5     4        ASSIGN_DIM                                               !0, 2
          5        OP_DATA                                                  'c'
    6     6        ASSIGN_DIM                                               !0, 3
          7        OP_DATA                                                  'ddd'
    9     8        INIT_FCALL                                               'var_export'
   10     9        INIT_FCALL                                               'preg_grep'
         10        SEND_VAL                                                 '%2F%5E.%24%2Fu'
         11        SEND_VAR                                                 !0
         12        SEND_VAL                                                 1
         13        DO_ICALL                                         $5      
         14        SEND_VAR                                                 $5
    9    15        DO_ICALL                                                 
   11    16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.19 ms | 1084 KiB | 15 Q