Are all the fields in $_POST empty?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Dude, array_filter is lightning fast! I just tried it out on a small array and the amount of time it took to do the array_filter call was the same as ONE step on walking the array checking for empty. That would mean for a large array using array_filter could dramtaically reduce overhead and save a ton of processing time (nice for the heavily used web sites :D )
Post Reply