svn: /phpdoc/en/trunk/appendices/migration70/ new-features.xml

From: Date: Mon, 21 Sep 2015 12:17:17 +0000
Subject: svn: /phpdoc/en/trunk/appendices/migration70/ new-features.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-13751@lists.php.net to get a copy of this message
aharvey Mon, 21 Sep 2015 12:17:17 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=337872 Log: Trim down the migration guide CSPRNG section. Changed paths: U phpdoc/en/trunk/appendices/migration70/new-features.xml Modified: phpdoc/en/trunk/appendices/migration70/new-features.xml =================================================================== --- phpdoc/en/trunk/appendices/migration70/new-features.xml 2015-09-21 12:17:12 UTC (rev 337871) +++ phpdoc/en/trunk/appendices/migration70/new-features.xml 2015-09-21 12:17:17 UTC (rev 337872) @@ -644,26 +644,10 @@ <title><link linkend="book.csprng">CSPRNG</link> Functions</title> <para> - This feature introduces two new functions for generating cryptographically - secure integers and strings. They expose simple APIs and are - platform-independent. + Two new functions have been added to generate cryptographically secure + integers and strings in a cross platform way: + <function>random_bytes</function> and <function>random_int</function>. </para> - - <para> - Function Signatures: - </para> - - <programlisting> -<![CDATA[ -string random_bytes(int length); -int random_int(int min, int max); -]]> - </programlisting> - - <para> - Both functions will emit an E_WARNING and return <literal>false</literal> if - a source of sufficient randomness cannot be found. - </para> </sect2> <sect2 xml:id="migration70.new-features.list-arrayaccess">

« previous php.doc.cvs (#13751) next »