Quantcast
Channel: CodeIgniter Forums - All Forums
Viewing all articles
Browse latest Browse all 14115

CodeIgniter 3.x.x Branch starting to show Depreciation Warnings using PHP 7.x.x

$
0
0
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.

Viewing all articles
Browse latest Browse all 14115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>