私は配列を持っています:
array (
[0] => Array (
[host] => google.nl
[class] => IN
[ttl] => 279310
[type] => NS
[target] => ns3.google.com)
[1] => Array (
[host] => google.nl
[class] => IN
[ttl] => 279310
[type] => NS
[target] => ns4.google.com)
[2] => Array (
[host] => google.nl
[class] => IN
[ttl] => 279310
[type] => NS
[target] => ns2.google.com)
この配列はdns_get_record ()
関数で作成されます。これは、ドメインごとに異なる量の変数です。どうすれば他のターゲットと比較[0]['target']
できますか?[1]['target']
[2]['target']