<?php $test['name'] = null; $test['name2'] = ""; var_dump(isset($test['name']));// false var_dump(isset($test['name2']));// true