Login   Register  
PHP Classes
elePHPant
Icontem

File: multiname-generator.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Ludovic Bellière  >  PHP Mud Names  >  multiname-generator.php  >  Download  
File: multiname-generator.php
Role: Example script
Content type: text/plain
Description: Generates several names at once
Class: PHP Mud Names
Generate random names for Multi-User Dungeon games
Author: By
Last change: Use the new feature introduced into version 1.3
Date: 2010-03-19 03:20
Size: 267 bytes
 

Contents

Class file image Download
<?php

$number 
5;

// --

require('mudnames.php');

$gname = new mudnames();

$names $gname->generates_several_names($number,'random');
echo 
implode('<br />'$names);

echo 
"<br/><br/>Memory peak ~" round(memory_get_peak_usage()/10242) , "ko";