3v4l.org

run code in 300+ PHP versions simultaneously
<?php $allowedIps = ['a' => '123.123.123.123']; in_array('123.123.123.123', array_merge($allowedIps, array('127.0.0.1', 'fe80::1', '::1'))) ;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ReN5s
function name:  (null)
number of ops:  10
compiled vars:  !0 = $allowedIps
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        INIT_FCALL                                               'in_array'
          2        SEND_VAL                                                 '123.123.123.123'
          3        INIT_FCALL                                               'array_merge'
          4        SEND_VAR                                                 !0
          5        SEND_VAL                                                 <array>
          6        DO_ICALL                                         $2      
          7        SEND_VAR                                                 $2
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.15 ms | 1393 KiB | 17 Q