Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter 3.x.x Branch starting to show Depreciation Warnings using PHP 7.x.x
#2

(04-23-2018, 04:23 AM)InsiteFX Wrote: This is just a heads up.

CodeIgniter 3.1.8

.system/core/Security.php

LINE 633:

PHP Code:
// Unfortunately, none of the following PRNGs is guaranteed to exist ...
if (defined('MCRYPT_DEV_URANDOM') && ($output mcrypt_create_iv($lengthMCRYPT_DEV_URANDOM)) !== FALSE)
{
 
   return $output;


mcrypt_create_iv

PHP Code:
Warning

This 
function was DEPRECATED in PHP 7.1.0, and REMOVED in PHP 7.2.0.

Alternatives to this function include:

random_bytes() 

So it looks like the CodeIgniter 3 Branch is starting to show alot of depreciation warnings with PHP 7.x.x

There are a lot more, but just wanted to point this one out.

No. It will not show a deprecated warning....

See: https://github.com/bcit-ci/CodeIgniter/b...y.php#L615
Reply


Messages In This Thread
RE: CodeIgniter 3.x.x Branch starting to show Depreciation Warnings using PHP 7.x.x - by Paradinight - 04-23-2018, 10:25 AM



Theme © iAndrew 2016 - Forum software by © MyBB