diff options
Diffstat (limited to 'ext/curl/tests/bug73147.phpt')
-rw-r--r-- | ext/curl/tests/bug73147.phpt | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/ext/curl/tests/bug73147.phpt b/ext/curl/tests/bug73147.phpt index 118177d871..0c86269151 100644 --- a/ext/curl/tests/bug73147.phpt +++ b/ext/curl/tests/bug73147.phpt @@ -11,10 +11,13 @@ if (!extension_loaded("curl")) { $poc = 'a:1:{i:0;O:8:"CURLFile":1:{s:4:"name";R:1;}}'; try { -var_dump(unserialize($poc)); + var_dump(unserialize($poc)); } catch(Exception $e) { - echo $e->getMessage(); + echo $e->getMessage(); } ?> ---EXPECT-- -Unserialization of CURLFile instances is not allowed +--EXPECTF-- +Warning: Erroneous data format for unserializing 'CURLFile' in %s on line %d + +Notice: unserialize(): Error at offset 27 of 44 bytes in %s on line %d +bool(false) |