1--TEST-- 2Session bad configurations, persistent 3--SKIPIF-- 4<?php 5include dirname(__FILE__) . "/skipif.inc"; 6if (!Memcached::HAVE_SESSION) print "skip"; 7?> 8--INI-- 9session.save_handler = "memcached" 10session.save_path = "PERSISTENT=1 hello:11211,world:11211" 11 12--FILE-- 13<?php 14ob_start(); 15 16session_start(); 17session_write_close(); 18 19// In PHP < 7.2 this is a Fatal Error so the OK is not printed 20// echo "OK"; 21 22--EXPECTF-- 23Warning: session_start(): failed to parse session.save_path: PERSISTENT is replaced by memcached.sess_persistent = On in %s on line %d 24 25%s: session_start(): Failed to initialize storage module: memcached (path: PERSISTENT=1 %s) in %s on line %d 26