Profile
Achievement
![first submission:submitting first snipplet first submission:submitting first snipplet](/img/badge/badge_2.png?v3)
tasmanweb's Recent SnippetsTagged function
- All /
« Prev 1 Next »
A print_r replacement function that can handle nested arrays and strings.
Usage: printr($array);
0
645
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
873
posted 13 years ago by tasmanweb
Returns the number of days in the month taking leap-years into account.
0
785
posted 13 years ago by tasmanweb
A better and more accurate function to see if a value is an integer.
0
681
posted 13 years ago by tasmanweb