Giter Site home page Giter Site logo

Comments (6)

nrk avatar nrk commented on June 2, 2024

Whoops, there are three PHP 5.3 anonymous function in the tests for GETBIT that break the test suite when using PHP 5.2. I don't have a PHP 5.2 interpreter at hand so I can't test it right now but changing that code by using the p_anon() utility function should be enough. I'll push a change sometime later this week.

PS: if possible, you should be using a newer version of Predis since v0.6.3 is quite old (the latest stable one is v0.6.6).

from predis.

glensc avatar glensc commented on June 2, 2024

some more compat bits:

PHP Notice:  Use of undefined constant __DIR__ - assumed '__DIR__' in php-predis-0.6.6/test/bootstrap.php on line 3

from predis.

glensc avatar glensc commented on June 2, 2024

regarding latest version, currently wiki mentions last release is v0.6.3

from predis.

nrk avatar nrk commented on June 2, 2024

Alright I updated the wiki, pushed the fixes for the test suite to the php5.2_backport branch and verified that everything works using PHP 5.2. Thanks for reporting these issues, they will be part of the next patch release of Predis 0.6.x.

from predis.

rudiedirkx avatar rudiedirkx commented on June 2, 2024

PHP 5.2 isn't supported anymore.

All PHP users should note that the PHP 5.2 series is NOT supported anymore. All users are strongly encouraged to upgrade to PHP 5.3.8.

Don't support PHP 5.2 in your app/module/plugin.

from predis.

nrk avatar nrk commented on June 2, 2024

@rudiedirkx I do completely agree with you and Predis v0.7.0 (the current development version of the library) is PHP 5.3-only and it won't be backported, but since v0.6.x is still considered the stable branch of Predis as of today I plan to support both the mainline and backported versions till the next major release.

from predis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.