Re: [PHP-DEV] A validator module for PHP7

2017-09-11 Thread Stephen Reay
> On 12 Sep 2017, at 04:07, Yasuo Ohgaki wrote: > > Stephen, > > On Tue, Sep 12, 2017 at 12:22 AM, Stephen Reay > wrote: > >> On 11 Sep 2017, at 17:41, Yasuo Ohgaki > > wrote: >> >> Hi Stephen, >> >> On Mon, Sep 11, 2017 at 6:37 PM

[PHP-DEV] Re: hash_hkdf() signature and return value

2017-09-11 Thread Yasuo Ohgaki
Hi all, hash_hkdf() discussion was mess, but it came to conclusion finally a while ago. Apparently, there are confused readers still. I discovered it in other thread. I would like to make it clear again what's wrong in the discussion. If you think I was wrong about HKDF, you should read this. Ni

[PHP-DEV] GOOD Benchmark Results for PHP Master 2017-09-10

2017-09-11 Thread lp_benchmark_robot
Results for project PHP master, build date 2017-09-10 19:24:00-07:00 commit: ffb8894 previous commit:c5dfbcf revision date: 2017-09-10 18:51:41+02:00 environment:Haswell-EP cpu:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz 2x18 cores, stepping 2, LLC 45 MB

Re: [PHP-DEV] BCMath and floats

2017-09-11 Thread Christoph M. Becker
On 11.09.2017 at 19:13, Sara Golemon wrote: > On Mon, Sep 11, 2017 at 8:36 AM, Christoph M. Becker > wrote: >> I already have proposed to introduce bcinit() which would take a string, >> int or float, and return a properly formatted string with the given or >> default scale, see

Re: [PHP-DEV] A validator module for PHP7

2017-09-11 Thread Yasuo Ohgaki
Hi, On Tue, Sep 12, 2017 at 6:54 AM, li...@rhsoft.net wrote: > > > Am 11.09.2017 um 23:39 schrieb Yasuo Ohgaki: > >> On Tue, Sep 12, 2017 at 6:35 AM, li...@rhsoft.net but you still fail >> to explain why in the world you don#t try to >> enhance the existing filter functions instead inven

Re: [PHP-DEV] A validator module for PHP7

2017-09-11 Thread li...@rhsoft.net
Am 11.09.2017 um 23:49 schrieb Yasuo Ohgaki: but you still fail to explain why in the world you don#t try to enhance the existing filter functions instead invent a new beast leading finally to have the existin filter functions and your new stuff which share the sa

Re: [PHP-DEV] A validator module for PHP7

2017-09-11 Thread li...@rhsoft.net
Am 11.09.2017 um 23:39 schrieb Yasuo Ohgaki: On Tue, Sep 12, 2017 at 6:35 AM, li...@rhsoft.net but you still fail to explain why in the world you don#t try to enhance the existing filter functions instead invent a new beast leading finally to have the existin filter functions and y

Re: [PHP-DEV] A validator module for PHP7

2017-09-11 Thread Yasuo Ohgaki
Hi, On Tue, Sep 12, 2017 at 6:39 AM, Yasuo Ohgaki wrote: > Hi, > > On Tue, Sep 12, 2017 at 6:35 AM, li...@rhsoft.net > wrote: > >> >> Am 11.09.2017 um 23:07 schrieb Yasuo Ohgaki >> >>> On Tue, Sep 12, 2017 at 12:22 AM, Stephen Reay >> > >>> So, you still didn’t actually provide an example.

Re: [PHP-DEV] A validator module for PHP7

2017-09-11 Thread Yasuo Ohgaki
Hi, On Tue, Sep 12, 2017 at 6:35 AM, li...@rhsoft.net wrote: > > Am 11.09.2017 um 23:07 schrieb Yasuo Ohgaki > >> On Tue, Sep 12, 2017 at 12:22 AM, Stephen Reay >> >>> So, you still didn’t actually provide an example. I *guess* you’re >>> talking >>> about character class validation or somethin

Re: [PHP-DEV] A validator module for PHP7

2017-09-11 Thread Yasuo Ohgaki
Hi Stephen, On Tue, Sep 12, 2017 at 6:07 AM, Yasuo Ohgaki wrote: > Would you like me to propose previous RFC again? > and implement "ture validation" with filter? > I don't mind implementing it if you would like to update the RFC and it > passes. > It must use "white list" as much as possible. >

Re: [PHP-DEV] A validator module for PHP7

2017-09-11 Thread li...@rhsoft.net
Am 11.09.2017 um 23:07 schrieb Yasuo Ohgaki On Tue, Sep 12, 2017 at 12:22 AM, Stephen Reay So, you still didn’t actually provide an example. I *guess* you’re talking about character class validation or something else equally “simple”, because I can’t imagine what else would be a common enough

Re: [PHP-DEV] A validator module for PHP7

2017-09-11 Thread Yasuo Ohgaki
Stephen, On Tue, Sep 12, 2017 at 12:22 AM, Stephen Reay wrote: > > On 11 Sep 2017, at 17:41, Yasuo Ohgaki wrote: > > Hi Stephen, > > On Mon, Sep 11, 2017 at 6:37 PM, Stephen Reay > wrote: > > On 11 Sep 2017, at 15:42, Yasuo Ohgaki wrote: > > It seems you haven't try to use filter module serio

Re: [PHP-DEV] BCMath and floats

2017-09-11 Thread Sara Golemon
On Mon, Sep 11, 2017 at 8:36 AM, Christoph M. Becker wrote: > I already have proposed to introduce bcinit() which would take a string, > int or float, and return a properly formatted string with the given or > default scale, see . Nikita > suggested to ac

[PHP-DEV] BCMath and floats

2017-09-11 Thread Christoph M. Becker
Hi everybody! All BCMath functions expects strings as operands (in the strict sense; do not confuse with arguments). This of course can result in unexpected behavior if floats are passed, namely: * floats may be converted to a string in scientific notation * floats may be converted with a deci

Re: [PHP-DEV] A validator module for PHP7

2017-09-11 Thread Stephen Reay
> On 11 Sep 2017, at 17:41, Yasuo Ohgaki wrote: > > Hi Stephen, > > On Mon, Sep 11, 2017 at 6:37 PM, Stephen Reay > > wrote: > >> On 11 Sep 2017, at 15:42, Yasuo Ohgaki wrote: >> >> It seems you haven't try to use filter module seriously. >> It simply does n

Re: [PHP-DEV] A validator module for PHP7

2017-09-11 Thread Yasuo Ohgaki
Hi Stephen, On Mon, Sep 11, 2017 at 6:37 PM, Stephen Reay wrote: > On 11 Sep 2017, at 15:42, Yasuo Ohgaki wrote: > > It seems you haven't try to use filter module seriously. > It simply does not have enough feature for input validations. > e.g. You cannot validate "strings". > > > Yasuo, > > I’

Re: [PHP-DEV] A validator module for PHP7

2017-09-11 Thread Stephen Reay
> On 11 Sep 2017, at 15:42, Yasuo Ohgaki wrote: > > It seems you haven't try to use filter module seriously. > It simply does not have enough feature for input validations. > e.g. You cannot validate "strings". > Yasuo, I’ve asked previously what your proposal actually offers over the filter

Re: [PHP-DEV] A validator module for PHP7

2017-09-11 Thread Yasuo Ohgaki
Hi Tony, On Sat, Sep 9, 2017 at 6:26 PM, Tony Marston wrote: > "Yasuo Ohgaki" wrote in message news:CAGa2bXa4UvkL-ZsLAB2bF05L > 4q_oduixszvvyzu9nddksvt...@mail.gmail.com... > >> >> Hi Tony, >> >> > >> >>> As a person who has been developing database applications for several >>> decades and wit

[PHP-DEV] LDAP method API to give access to the result object

2017-09-11 Thread Côme Chilliet
Hello, I’m working on adding controls support to php-ldap, so far sending controls to the server works fine. I would now like to be able to get the controls returned by the server. This can easily be done when methods are returning the result object, like ldap_search does, in which case calling