05.05.2013 Views

Programming PHP

Programming PHP

Programming PHP

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

max<br />

mixed max(mixed value1[, mixed value2[, ... mixed valueN]])<br />

If value1 is an array, returns the largest number found in the values of the array. If not,<br />

returns the largest number found in the arguments.<br />

md5<br />

string md5(string string)<br />

Calculates the MD5 hash of string and returns it.<br />

metaphone<br />

string metaphone(string string, int max_phonemes)<br />

Calculates the metaphone key for string. The maximum number of phonemes to use in<br />

calculating the value is given in max_phonemes. Similar-sounding English words generate the<br />

same key.<br />

method_exists<br />

bool method_exists(object object, string name)<br />

Returns true if the object contains a method with the name given in the second parameter<br />

or false otherwise. The method may be defined in the class of which the object is an<br />

instance, or in any superclass of that class.<br />

microtime<br />

string microtime( )<br />

Returns a string in the format “microseconds seconds”, where seconds is the number of<br />

seconds since the Unix epoch, and microseconds is the microseconds portion of the time<br />

since the Unix epoch.<br />

min<br />

mixed min(mixed value1[, mixed value2[, ... mixed valueN]])<br />

If value1 is an array, returns the smallest number found in the values of the array. If not,<br />

returns the smallest number found in the arguments.<br />

This is the Title of the Book, eMatter Edition<br />

Copyright © 2002 O’Reilly & Associates, Inc. All rights reserved.<br />

min | 423

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!