Hi Vesa,
On 19 September 2016 at 14:04, Vesa Kaihlavirta wrote:
>
> My idea is to add a strict_comparisons declaration that you can add at the
> beginning of a file in the same way as strict_types.
>
> Please take a look and let me know if this would be worth a more official
> RFC.
I think it de
Results for project PHP master, build date 2016-09-19 06:25:01+03:00
commit: fa5dda4
previous commit:22127b7
revision date: 2016-09-18 16:37:20+08:00
environment:Haswell-EP
cpu:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz 2x18 cores,
stepping 2, LLC 45 MB
Hey all,
I've been bouncing this idea of fixing all comparison operations in one
fell swoop, although with an opt-in declare in the spirit of strict_types.
Here's the gist: ==, < and > plus all the comparisons done inside switch
statements and arrays are not very safe. === helps some, but does no
Von: Christian Stoller [mailto:stol...@leonex.de], Gesendet: Montag, 19.
September 2016 10:27
Betreff: [PHP-DEV] Problem with overwriting private property value with
ReflectionProperty
> Hi,
>
> I have spent several hours with a strange problem with reflection.
>
> There's an object of an extern
Hi,
I have spent several hours with a strange problem with reflection.
There's an object of an external lib with a private field and I have to
overwrite its values. Because there is no public method I am using
ReflectionProperty like this:
$reflProp = new \ReflectionProperty(Extension::class,