diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2018-11-26 13:28:14 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2018-11-26 13:28:14 +0100 |
commit | 6e4b20269449002c4cf21b5f50a11acf91785ce3 (patch) | |
tree | b941fa54e6e760a911731c2a83c41905b3c52bd0 /ext/pdo/tests | |
parent | a624c2bd13c89891e99f2052b42c0816cc18341c (diff) | |
download | php-git-6e4b20269449002c4cf21b5f50a11acf91785ce3.tar.gz |
Switch PDO to use serialize_deny
And remove dummy __sleep/__wakeup. This switches the thrown
exception type from PDOException to Exception.
Diffstat (limited to 'ext/pdo/tests')
-rw-r--r-- | ext/pdo/tests/pecl_bug_5217.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo/tests/pecl_bug_5217.phpt b/ext/pdo/tests/pecl_bug_5217.phpt index 7fe2bf4af7..b042889d23 100644 --- a/ext/pdo/tests/pecl_bug_5217.phpt +++ b/ext/pdo/tests/pecl_bug_5217.phpt @@ -25,5 +25,5 @@ try { echo "PHP Didn't crash!\n"; ?> --EXPECT-- -Safely caught You cannot serialize or unserialize PDO instances +Safely caught Serialization of 'PDO' is not allowed PHP Didn't crash! |