Profile
Achievement
tasmanweb's Recent SnippetsTagged php
- All /
« Prev 1 Next »
A print_r replacement function that can handle nested arrays and strings.
Usage: printr($array);
0
707
posted 13 years ago by tasmanweb
Parses a url correctly even with a url as query parameter, also retuns dirname, basename and extension besides the other parse_url bits. See comments for more info.
0
920
posted 13 years ago by tasmanweb
Returns the number of days in the month taking leap-years into account.
0
851
posted 13 years ago by tasmanweb
A better and more accurate function to see if a value is an integer.
0
739
posted 13 years ago by tasmanweb