PHP5
最近知った事実ということで、メモ。glob関数でマッチしないときは、空配列が返る。 (但し、プラットフォーム依存) php -dopen_basedir= -r 'var_dump(glob("/non/exsistent/path"));' array(0) { }なんですが、 open_basedir に何かしら設定されている場合…
最近知った事実ということで、メモ。glob関数でマッチしないときは、空配列が返る。 (但し、プラットフォーム依存) php -dopen_basedir= -r 'var_dump(glob("/non/exsistent/path"));' array(0) { }なんですが、 open_basedir に何かしら設定されている場合…