ログ日記

作業ログと日記とメモ

2008-11-27から1日間の記事一覧

PHP5.3のnamespace

PHP

メモ。 +1 means the separator is not affected negatively by the criteria +-0 means that the separator is only moderately affected by the criteria -1 means the criteria is severely affected by the criteria critieria \ ** ^^ %% :> :) ::: typ…

spl_autoload は LogicException を throw する

PHP

メモ。 spl_autoload_register を引数なしで実行すれば、spl_autoload が指定される。 で、spl_autoloadはクラス名に拡張子.phpと.incを付けて探してくれるので、これをそのまま使おうかなーと思ったのだが。 spl_autoload_register でいくつも関数を登録す…