Home arrow PHP arrow 10 PHP Functions I Bet You Didn't Know About!

10 PHP Functions I Bet You Didn't Know About!

PHP has hundreds of functions. In this article Mitchell looks at 10 uncommon yet useful PHP functions and shows you examples of how to use each of them to save time when coding.

Author Info:
By: Mitchell Harper
Rating: 4 stars4 stars4 stars4 stars4 stars / 27
August 09, 2002
  1. · 10 PHP Functions I Bet You Didn't Know About!
  2. · Functions 1 to 5
  3. · Functions 6 to 10
  4. · Conclusion

print this article

10 PHP Functions I Bet You Didn't Know About!
(Page 1 of 4 )

As with many other programming languages PHP has dozens upon dozens of functions that most developers simply will never use. There are many reasons why these functions may not be used. They may be too advanced, may be under-documented, may have hard to understand names or calling conventions, etc.

I've spent some time over on the PHP web site searching for functions that are extremely useful but underused by the majority of PHP developers. Today we're going to look at 10 of these functions. For the typical PHP programmer, many of these functions will be new and may even open up a completely new part of PHP that you never even knew existed!

For advanced developers, many of these functions will simply provide an easier way of accomplishing a specific programmatic task. For example, instead of looping through a binary file to write its contents to the browser, you can use the fpassthru() function to do this for you automatically.

Anyway, let's get on with the show and look at functions 1 to 5...
blog comments powered by Disqus

- Removing Singletons in PHP
- Singletons in PHP
- Implement Facebook Javascript SDK with PHP
- Making Usage Statistics in PHP
- Installing PHP under Windows: Further Config...
- File Version Management in PHP
- Statistical View of Data in a Clustered Bar ...
- Creating a Multi-File Upload Script in PHP
- Executing Microsoft SQL Server Stored Proced...
- Code 10x More Efficiently Using Data Access ...
- A Few Tips for Speeding Up PHP Code
- The Modular Web Page
- Quick E-Commerce with PHP and PayPal
- Regression Testing With JMeter
- Building an Iterator with PHP

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 

Developer Shed Affiliates


© 2003-2019 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials