2015-02-27 Notice: Undefined variable PHP プログラミング 1.変数を最初に設定 $abc = $def; ↓ $def = null; $abc = $def 完成! 要するに、何かしら関数という箱の中に何か入れておかないといけないというわけです。