Re: PR 1217: Add support for upload files from buffer string in curl extenion

From: Date: Fri, 24 Apr 2015 07:21:03 +0000
Subject: Re: PR 1217: Add support for upload files from buffer string in curl extenion
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-85936@lists.php.net to get a copy of this message
> On 23 Apr 2015, at 14:26, Alexander Moskalev <irker@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. А.

« previous php.internals (#85936) next »