Ver original<?phpfunction prueba($var = null){ echo (@$var != null) ? 'hay argumento' : 'no hay argumento';} prueba();prueba("xxx");?>