1--TEST--
2CURL file uploading
3--EXTENSIONS--
4curl
5--FILE--
6<?php
7$file = new CURLFile(__DIR__ . '/curl_testdata1.txt');
8var_dump(serialize($file));
9?>
10--EXPECTF--
11Fatal error: Uncaught Exception: Serialization of 'CURLFile' is not allowed in %s:%d
12Stack trace:
13#0 %s(%d): serialize(Object(CURLFile))
14#1 {main}
15  thrown in %s on line %d
16