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