Luracast
  • Home
  • Blog
  • Flexplorer
  • Restler
  • Short
  • Contact
Select Page

Tips.PHP: Removing empty strings, NULL, FALSE, and negative numbers from Array

by admin | Sep 14, 2011 | Uncategorized

Often we need to remove empty elements from our array. For example when we split a string with space, we can get the words and also blank strings when there are two or more spaces put together. We can use array_filter function for rescue. When we call array_filter...

Recent Posts

  • Tips.PHP: A hidden gem in array_column
  • Tips.PHP: Removing empty strings, NULL, FALSE, and negative numbers from Array
  • Tips.PHP: Securing ViewSource.php
  • Why haXe to SWC is important for Flex/Flash Developers?
  • Powerflasher FDT 3.O Review

Recent Comments

  1. Madiha on Working with color HEX & RGB
  2. Malzbier on Unicode escape notations generator.
  3. Terry Hernandez on “Code Generation Techniques” – Presentation
  4. no deposit casino on Splitting String to Words Array
  5. Tahir Alvi on Webcam Motion Detection using AS3.
  • Facebook
  • Twitter
  • Instagram
  • RSS