配列テキストを無効にするにはどうすればよいですか? すべてが正常に動作しますが、var_dump
少なくとも、またはの配列テキストはprint_r
私が望むものではありません。
array(1) { [0]=> string(21564) "Content" }
これは私のコードです:
<?php
$url = "http://competitive.euw.leagueoflegends.com/de/ladders/euw/current/ranked_team_3x3";
preg_match('#<table class="views-table cols-6"[^>]+>[\w\W]*?</table>#i', file_get_contents($url), $match);
print_r($match);
?>
Array ( [0] => ) <--- これは削除しなければならない醜い部分です