public function __construct() {
parent::__construct();
- $this->mDescription = "Dumb program that tries to get the memory usage\n" .
- "for each language file";
+ $this->addDescription( "Dumb program that tries to get the memory usage\n" .
+ "for each language file" );
}
public function execute() {
$this->error( "You must compile PHP with --enable-memory-limit", true );
}
- $langtool = new languages();
+ $langtool = new Languages();
$memlast = $memstart = memory_get_usage();
$this->output( "Base memory usage: $memstart\n" );