Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
file_get_dom()最近、HTML DOM パーサー (ganon) をダウンロードしたところ、次のような関数を介して返される HTML 要素にアクセスできることに気付きました。
file_get_dom()
$data = file_get_dom("someresource");
foreach($data('table.someClass') as $something)..
これと同じ方法でプロパティにアクセスするにはどうすればよいですか? $var() が使用されているのを見たことがありません。
答えは「変数関数」でした。