--TEST-- CURL file uploading --SKIPIF-- --FILE-- --EXPECTF-- Fatal error: Uncaught exception 'Exception' with message 'Unserialization of CURLFile instances is not allowed' in %s Stack trace: #0 [internal function]: CURLFile->__wakeup() #1 %s #2 {main} thrown in %s on line %d