Re: PHP version confusion
| From: | Bishop Bettini | Date: | Wed, 09 Sep 2015 22:48:07 +0000 |
| Subject: | Re: PHP version confusion | ||
| References: | 1 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-24131@lists.php.net to get a copy of this message | ||
Version 5.6 contains a super-set of features in version 5.5. Thus, version
5.6.13 will issue a deprecation warning when using
mysql_real_escape_string().
You can download version 7 by following the instructions on the Development
sources (git) link <http://php.net/git.php>. Were you to
download PHP 7
source, and run your code with PHP 7, then you would get a Fatal error when
running mysql_real_escape_string.
On Wed, Sep 9, 2015 at 6:03 PM, Alice Grimm <stagedwebs@gmail.com> wrote:
> http://php.net/manual/en/function.mysql-real-escape-string.php
> states:
> "This extension was deprecated in PHP 5.5.0, and it was removed in PHP
> 7.0.0."
>
> But http://php.net/downloads.php show the current stable
> version is
> 5.6.13!
>
> How can something be depreciated and removed by a version that apparently
> doesn't exist!
>
> Thanks for your time,
>
> Elaine
>