下記のスクリプトを実行してもエラーになります・・・readが未定義って
言っているようですが書いてるし原因が分かりません。
ご指摘をお願いしますorz
PHPのバージョンは 5.1.6 です。
<?php
class Hoge
{
  public function __construct( $path = NULL )
  {
    if( !is_null( $path ) )
    {
      read( $path );
    }
    return;
  }
  public function read( $path = NULL )
  {
    /*!
      ファイル読み込み処理を実装する予定。
    */
    return;
  }
}
$hoge = new Hoge( 'test.txt' );
?>
エラー内容
Fatal error: Call to undefined function read() in N:\sample.php on line 8