DailyPHP's profile picture. [Not-so-daily anymore...] Another day, another PHP function (created by @jt2k)

Daily PHP Function

@DailyPHP

[Not-so-daily anymore...] Another day, another PHP function (created by @jt2k)

rewind - Rewind the position of a file pointer: php.net/manual/functio…


array_column - Return the values from a single column in the input array: php.net/manual/functio…


readline - Reads a single line from the user: php.net/manual/en/func…


get_defined_constants - Returns an associative array with the names of all the constants and their values: php.net/get_defined_co…


@jamiebicknell Just waiting for the summer solstice :)


date_sunset - Returns time of sunset for a given day and location: php.net/manual/en/func…


array_intersect_key - Computes the intersection of arrays using keys for comparison: http://bit.ly/dFBKVG


chunk_split - Split a string into smaller chunks: http://bit.ly/hqBWcq


is_subclass_of - Checks if the object has this class as one of its parents: http://bit.ly/ekwUSY


is_nan - Finds whether a value is not a number: http://bit.ly/cUQ9Jc


array_flip - Exchanges all keys with their associated values in an array: http://bit.ly/9qPZzl


memory_get_usage - Returns the amount of memory allocated to PHP: http://kl.am/aWzl


usleep - Delay execution in microseconds: http://kl.am/9tmf


Loading...

Something went wrong.


Something went wrong.