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), array_search($key, $filterKeys)); exit();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 79) Position 1 = -2
filename:       /in/FIjN1
function name:  (null)
number of ops:  18
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        DO_ICALL                                         $4      
          9        SEND_VAR                                                 $4
         10        INIT_FCALL                                               'array_search'
         11        SEND_VAR                                                 !1
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                         $5      
         14        SEND_VAR                                                 $5
         15        DO_ICALL                                                 
         16      > EXIT                                                     
         17*     > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
184.01 ms | 1394 KiB | 19 Q