Comments (6)
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.
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.
regarding latest version, currently wiki mentions last release is v0.6.3
from predis.
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.
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.
@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)
- Provide a hook so that a user can delete something from the cache storage
- Get from local cache
- Determine internal format of the cache (i.e is it key of value/expiration pairs, or something else)
- Save in local cache (presumably with an expiration)
- Cache configuration objects (to support memory, number of keys, etc)
- [v3] cherry-pick opt out setinfo for v3 HOT 1
- Update CLIENT-SETINFO to support suffixes HOT 1
- Missing BITFIELD_RO support HOT 1
- psubscribe seems to swallow exit, exceptions, disconnect, quit calls HOT 4
- Add support for GEOSHAPE index fields and WITHIN and CONTAINS query operators
- Error while writing bytes to the server HOT 3
- Error on RPOP expects exactly 1 argument, 2 given HOT 2
- Explain `expireResoluton` for `SET` HOT 1
- Improve connection speed by running fewer commands
- Question: the `ClientInterface::eval` signature and PhpRedis HOT 1
- Connect to Sentinel with username: how to implement right ? HOT 3
- Add support for HSCAN [NOVALUES]
- Add command filter for CLIENT KILL to support maximum age via [MAXAGE] option
- Support XREAD, XREADGROUP reading from last message of stream
- Supporting redis unstable commands
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from predis.