Public feed
#893908
<?phpfunction allEmpty( $var ){ $args = func_get_args( ); foreach( $args AS $value ) { if( $value !== '' ) return false; } return true;}/** Usage: **/$a = 1; $b = ''; $c = '';if( !allEmpty( $a, $b, $c ) ) { echo 'not all "empty".';}$a = '';if( allEmpty( $a, $b, $c ) ) { echo 'all "empty"';}?>