Return to Snippet

Revision: 28890
at July 15, 2010 21:13 by stancox


Initial Code
function empty( mixed_var ) {	
	return ( mixed_var === "" || mixed_var === 0   || mixed_var === "0" || mixed_var === null  || mixed_var === false  ||  ( is_array(mixed_var) && mixed_var.length === 0 ) );
}

Initial URL
http://javascript.ru/php/empty

Initial Description

                                

Initial Title
Javascript для PHP функции: empty

Initial Tags

                                

Initial Language
JavaScript