- edited description
Strange reflection
I'm used to save a "REFLECTION" file for each version (output of "php --re ev")
After update from 1.0.0 to 1.0.1 (or 1.0.2), I notice a strange change See: https://github.com/remicollet/remirepo/commit/2dd68ee385956aa2ddbbd33c05f2b8805e7a3a34
For lot of properties, we have public $"data" with additional quote.
I will try to dig to understand where this comes from, even if I don't see any significant change in ev code (perhaps some in PHP)
Comments (5)
-
reporter -
reporter More, this looks like it only affects "ev"
Using
<?php $r = new ReflectionClass('mysqli'); var_dump($r->getProperties());
With MySQLi / PHP 5.6 or 7.0
&object(ReflectionProperty)#20 (2) { ["name"]=> string(13) "warning_count" ["class"]=> string(6) "mysqli" }
With EvWatcher / PHP 5.6
&object(ReflectionProperty)#5 (2) { ["name"]=> string(8) "priority" ["class"]=> string(9) "EvWatcher" }
With EvWatcher / PHP 7.0, additional quotes also appear here :(
object(ReflectionProperty)#5 (2) { ["name"]=> string(10) ""priority"" ["class"]=> string(9) "EvWatcher" }
-
repo owner It's my fault. I'll fix it
-
repo owner - changed status to resolved
Fix: issue
#29where object properties were wrapped in double quotes→ <<cset 12a05c4970e6>>
-
reporter Indeed fixed (confirmed by reflection back to normal => https://git.io/vKp2V)
Thanks
- Log in to comment