title: Returning boolean from oracle function or procedure with out parameter
body: <p>I need to develop a web application with <code>php</code>.For login process , .Normally I would use select statement with id and password , if row returns then it is successful login.But I want to use stored procedure and don't want to get any row from database but simple <code>boolean</code> value.The signature of <code>PL/SQL</code> process is below.</p>
  
  <pre><code>procedure successful_login(cit_id in citizens.citizen_id%type,
                             pass in varchar2,v_login_successful out boolean)
  </code></pre>
  
  <p>I won't bloat page with code but procedure changes <code>v_login_successful</code> to true or false depending on successful login, in PL/SQL.But I want to call this procedure from PHP.If I bind a php variable to <code>v_login_successful</code> parameter and execute procedure from PHP, will PL/SQL engine return changed version of <code>v_login_successful</code> variable back to PHP?</p>