|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2012-11-20 04:48 UTC] andrei@php.net
[2012-11-20 10:45 UTC] zlobnygrif at gmail dot com
[2012-11-20 10:56 UTC] zlobnygrif at gmail dot com
[2012-11-21 03:58 UTC] andrei@php.net
[2012-11-22 05:05 UTC] zlobnygrif at gmail dot com
[2012-11-22 16:47 UTC] andrei@php.net
[2012-11-26 10:47 UTC] zlobnygrif at gmail dot com
[2021-06-09 11:52 UTC] cmb@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: cmb
[2021-06-09 11:52 UTC] cmb@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 17 07:00:01 2025 UTC |
Description: ------------ When I pass an invalid argument to Memcached::get() I get "PHP Fatal error: Maximum execution time" My php: --------------- % php -v PHP 5.4.8-1~precise+1 (cli) (built: Oct 29 2012 14:58:46) Copyright (c) 1997-2012 The PHP Group Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies with Xdebug v2.2.0, Copyright (c) 2002-2012, by Derick Rethans Memcached version: --------------- % php -i | grep memcache /etc/php5/cli/conf.d/20-memcached.ini, memcached memcached support => enabled libmemcached version => 1.0.8 memcached.compression_factor => 1.3 => 1.3 memcached.compression_threshold => 2000 => 2000 memcached.compression_type => fastlz => fastlz memcached.serializer => php => php memcached.sess_binary => 0 => 0 memcached.sess_lock_wait => 150000 => 150000 memcached.sess_locking => 1 => 1 memcached.sess_prefix => memc.sess.key. => memc.sess.key. Registered save handlers => files user memcached Test script: --------------- ini_set("max_execution_time", 5); $e = new Memcached(); var_dump( $e->addServer("/tmp/memcached.socket", 0), $e->add("somekey", "Test!", time() + 1), $e->get("some\nkey") ); Expected result: ---------------- bool(true) bool(true) bool(false) Actual result: -------------- bool(true) bool(true) bool(false) PHP Fatal error: Maximum execution time of 5 seconds exceeded in Unknown on line 0 Fatal error: Maximum execution time of 5 seconds exceeded in Unknown on line 0