3v4l.org

run code in 300+ PHP versions simultaneously
<?php $filterKeys = array( 'ticket', 'password', 'pass_word', 'passcode', 'pass_code', 'paypassword', 'pay_password' ); $key = 0; var_dump($key, $filterKeys, in_array($key, $filterKeys, true), array_search($key, $filterKeys)); exit();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 79) Position 1 = -2
filename:       /in/9hsdI
function name:  (null)
number of ops:  19
compiled vars:  !0 = $filterKeys, !1 = $key
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   13     1        ASSIGN                                                   !1, 0
   15     2        INIT_FCALL                                               'var_dump'
          3        SEND_VAR                                                 !1
          4        SEND_VAR                                                 !0
          5        INIT_FCALL                                               'in_array'
          6        SEND_VAR                                                 !1
          7        SEND_VAR                                                 !0
          8        SEND_VAL                                                 <true>
          9        DO_ICALL                                         $4      
         10        SEND_VAR                                                 $4
         11        INIT_FCALL                                               'array_search'
         12        SEND_VAR                                                 !1
         13        SEND_VAR                                                 !0
         14        DO_ICALL                                         $5      
         15        SEND_VAR                                                 $5
         16        DO_ICALL                                                 
         17      > EXIT                                                     
         18*     > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.25 ms | 1399 KiB | 19 Q