<?php
$aCustomers = [
'id' => '2953',
'id_suscriber' => '1',
'company_name' => 'SOMAB',
'company_fullname' => '',
'address1' => 'Rue des Pois, 25',
'address2' => '',
'country' => 'CH',
'zipcode' => '1234',
'locality' => 'Nyon',
'phone' => '',
'fax' => '',
'mail' => '',
'url' => '',
'language' => '',
'notice' => '',
'activity' => 'Fabrication d\'appareillage électrique basse tension.'
];
$aCustomers = array_intersect_key($aCustomers, ['company_name'=>'x', 'country'=>'x', 'locality'=>'x', 'phone'=>'x', 'fax'=>'x', 'mail'=>'x']);
print_r($aCustomers);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/VIpIL
function name: (null)
number of ops: 10
compiled vars: !0 = $aCustomers
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
3 0 E > ASSIGN !0, <array>
22 1 INIT_FCALL 'array_intersect_key'
2 SEND_VAR !0
3 SEND_VAL <array>
4 DO_ICALL $2
5 ASSIGN !0, $2
24 6 INIT_FCALL 'print_r'
7 SEND_VAR !0
8 DO_ICALL
9 > RETURN 1
Generated using Vulcan Logic Dumper, using php 8.0.0
preferences:
235.67 ms | 1069 KiB | 15 Q