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.

join<br />

string join(array strings,string separator)<br />

This function is an alias of implode( ).<br />

key<br />

mixed key(array array)<br />

Returns the key for the element currently pointed to by the internal array pointer.<br />

key_exists<br />

bool key_exists(mixed key, array array)<br />

Returns true if array contains a key with the value key. If no such key is available, returns<br />

false.<br />

krsort<br />

int krsort(array array[, int flags])<br />

Sorts an array by key in reverse order, maintaining the keys for the array values. The<br />

optional second parameter contains additional sorting flags. See Chapter 5 and sort for<br />

more information on using this function.<br />

ksort<br />

int ksort(array array[, int flags])<br />

Sorts an array by key, maintaining the keys for the array values. The optional second<br />

parameter contains additional sorting flags. See Chapter 5 and sort for more information<br />

on using this function.<br />

lcg_value<br />

double lcg_value( )<br />

Returns a pseudorandom number between 0 and 1, inclusive, using a linear congruentialnumber<br />

generator.<br />

levenshtein<br />

int levenshtein(string one, string two[, int insert, int replace, int delete])<br />

int levenshtein(string one, string two[, mixed callback])<br />

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

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

levenshtein | 419

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

Saved successfully!

Ooh no, something went wrong!