Another day, another PHP function

Pulling from @DailyPHP

HomeAboutRSSTwitter

Feb 8 iconv

Convert string to requested character encoding

Jan 29 tempnam

Creates a file with unique filename

Jan 27 array_pad

Pad array to the specified length with a value

Jan 20 set_error_handler

Sets a user-defined error handler function

Jan 6 get_included_files

Returns an array with the names of included or required files

Dec 16 pathinfo

Returns information about a file path

Dec 11 array_uintersect

Computes the intersection of arrays, compares data by a callback function

Dec 10 iterator_to_array

Copy the iterator into an array

Nov 18 ob_get_contents

Return the contents of the output buffer

Nov 6 strncmp

Binary safe string comparison of the first n characters

Nov 3 basename

Returns the filename component of a file path

Oct 15 filter_var

Filters a variable with a specified filter

Oct 12 array_combine

Creates an array by using one array for keys and another for its values

Oct 9 str_word_count

Return information about words used in a string