Skip to content

Commit c561815

Browse files
committed
Handle fatal error in session badconf persistent test
1 parent e9381d0 commit c561815

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/session_badconf_persistent.phpt

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ ob_start();
1616
session_start();
1717
session_write_close();
1818

19-
echo "OK";
19+
// In PHP < 7.2 this is a Fatal Error so the OK is not printed
20+
// echo "OK";
2021

2122
--EXPECTF--
2223
Warning: session_start(): failed to parse session.save_path: PERSISTENT is replaced by memcached.sess_persistent = On in %s on line %d
2324

24-
Warning: session_start(): Failed to initialize storage module: memcached (path: PERSISTENT=1 %s) in %s on line %d
25-
OK
25+
%s: session_start(): Failed to initialize storage module: memcached (path: PERSISTENT=1 %s) in %s on line %d

0 commit comments

Comments
 (0)