"; // 同じスクリプト内で、$strを処理 function output_str( ) { // ユーザ定義関数 print $str . " ユーザ定義関数内
"; // ローカル変数のため、何も出力されない } ?>