|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2011-04-07 01:23 UTC] iamzxt999 at qq dot com
Description:
------------
when i compile memcached with -enable-memcached-igbinary, if
the second parameter of function set is an array which has
more than 3 elements, the php script will die. The same thing
happen on function add.
Reproduce code:
---------------
<?php
try {
$mem = new Memcached();
$mem->addServer('localhost', 12000);
$mem->set('abc', array(1, 2, 3, 4, 5));
print_r($mem->get('abc'));
?>
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 20:00:01 2025 UTC |
the Reproduce code has some error, the right is: $mem = new Memcached(); $mem->addServer('localhost', 12000); $mem->set('abc', array(1, 2, 3, 4, 5)); print_r($mem->get('abc')); and i'm sorry my english is not so good, so i can just descript what the problem is.