3v4l.org

run code in 300+ PHP versions simultaneously
<?php $address = array( "id" => 17570527.00, "seq" => 0, "line1" => "1 Heron Close", "line2" => "Bradwell", "post_town" => "Great Yarmouth", "county" => "Norfolk", "postcode" => "NR31 8LY", "mailsort" => "54136", "barcode" => "(NR318LY1AA)", "is_residential" => 1, "is_small_organisation" => 0, "is_large_organisation" => 0, ); echo implode("\n", array_intersect_key($address, array_flip(preg_grep('/^line[1-5]$/', array_keys($address)))));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/dn5eB
function name:  (null)
number of ops:  21
compiled vars:  !0 = $address
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   18     1        INIT_FCALL                                               'implode'
          2        SEND_VAL                                                 '%0A'
          3        INIT_FCALL                                               'array_intersect_key'
          4        SEND_VAR                                                 !0
          5        INIT_FCALL                                               'array_flip'
          6        INIT_FCALL                                               'preg_grep'
          7        SEND_VAL                                                 '%2F%5Eline%5B1-5%5D%24%2F'
          8        INIT_FCALL                                               'array_keys'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                         $2      
         11        SEND_VAR                                                 $2
         12        DO_ICALL                                         $3      
         13        SEND_VAR                                                 $3
         14        DO_ICALL                                         $4      
         15        SEND_VAR                                                 $4
         16        DO_ICALL                                         $5      
         17        SEND_VAR                                                 $5
         18        DO_ICALL                                         $6      
         19        ECHO                                                     $6
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.32 ms | 1395 KiB | 23 Q