> On 23 Apr 2015, at 14:26, Alexander Moskalev <ir...@irker.net> wrote: > > Because currently CURLFile have this constructor: > public __construct <http://php.net/manual/en/curlfile.construct.php> ( > string $filename [, string $mimetype [, string $postname ]] ) > > And we cannot replace this arguments to avoid BC break.
(Do not top-post please.) Well… We can introduce another class, which would inherit from CURLFile. Similar to how SplTempFileObject extends SplFileObject. А. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php