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
728
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
946
posted 13 years ago by tasmanweb
Returns the number of days in the month taking leap-years into account.
0
875
posted 13 years ago by tasmanweb
A better and more accurate function to see if a value is an integer.
0
757
posted 13 years ago by tasmanweb