Profile
Achievement
tasmanweb's Recent PHP Snippets
- All /
« Prev 1 Next »
A print_r replacement function that can handle nested arrays and strings.
Usage: printr($array);
0
560
posted 12 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
772
posted 12 years ago by tasmanweb
Returns the number of days in the month taking leap-years into account.
0
681
posted 12 years ago by tasmanweb
A better and more accurate function to see if a value is an integer.
0
587
posted 12 years ago by tasmanweb