[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pear-doc
Subject:    [PEAR-DOC] [PEAR-BUG] Bug #20410 [NEW]: magic_quotes
From:       "contact at mbiama dot com"<pear-doc () lists ! php ! net>
Date:       2014-09-12 18:36:55
Message-ID: bug-20410 () pear ! php ! net
[Download RAW message or body]

From:             rombia61
Operating system: Freebsd
Package version:  
PHP version:      5.6.0
Package:          Documentation
Bug Type:         Bug
Bug description:  magic_quotes

Description:
------------
php4 php5 php6
magic_quotes_runtime — Alias of set_magic_quotes_runtime()

Test script:
---------------
string sys_get_temp_dir ( void )

Expected result:
----------------
xml version="1.0" encoding="utf-8"
$Revision: 334852 $
refentry xml:id="function.get-magic-quotes-runtime" 
 refnamediv
  refname get_magic_quotes_runtime
Gets the current active configuration setting of magic_quotes_runtime
refsect1 role="description"
  &reftitle.description;
 methodsynopsis
   <type>bool</type><methodname>get_magic_quotes_runtime</methodname>
   <void/>
  </methodsynopsis>
  <simpara>
   Returns the current active configuration setting of <link
   linkend="ini.magic-quotes-runtime">magic_quotes_runtime</link>.
  </simpara>
 </refsect1>

 <refsect1 role="returnvalues">
  &reftitle.returnvalues;
  <para>
   Returns 0 if magic_quotes_runtime is off, 1 otherwise. 
   Or always returns &false; as of PHP 5.6 
  </para>
 </refsect1>

 <refsect1 role="changelog">
  &reftitle.changelog;
  <para>
   <informaltable>
    <tgroup cols="2">
     <thead>
      <row>
       <entry>&Version;</entry>
       <entry>&Description;</entry>
      </row>
     </thead>
     <tbody>
      <row>
       <entry>5.6.0</entry>
       <entry>
        Always returns &false; because the magic quotes feature was removed
from PHP.
       </entry>
      </row>
     </tbody>
    </tgroup>
   </informaltable>
  </para>
 </refsect1>
 
 refsect1 role="examples"
  &reftitle.examples;
  para
   example
    function="get_magic_quotes_runtime"
    programlisting role="php"
<![CDATA[
<?php
// Check if magic_quotes_runtime is active
if(get_magic_quotes_runtime())
{
    // Deactivate
    set_magic_quotes_runtime(false);
}
?>
]]
   /programlisting
   example
  para
 refsect1

 refsect1 role="seealso"
  &reftitle.seealso;
  para
   <simplelist>
    member function ="get_magic_quotes_gpc"

member function set_magic_quotes_runtime function
member
 simplelist
para
refsect1

refentry
Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->


-- 
Edit bug report at https://pear.php.net/bugs/bug.php?id=20410&edit=1
-- 


-- 
PEAR Documentation List Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic