Skip to content

Commit 99cab0e

Browse files
committed
Fix session-persistent test failures on older libmemcached versions
1 parent a8517cd commit 99cab0e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/session_persistent.phpt

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ Session persistent
33
--SKIPIF--
44
<?php
55
include dirname(__FILE__) . "/skipif.inc";
6-
if (!Memcached::HAVE_SESSION) print "skip";
6+
if (!Memcached::HAVE_SESSION) die ('skip session support disabled');
7+
if (Memcached::LIBMEMCACHED_VERSION_HEX < 0x01000018) die ('skip too old libmemcached');
78
?>
89
--INI--
910
session.save_handler=memcached

0 commit comments

Comments
 (0)