Strange reflection

Issue #29 resolved
Remi Collet
created an issue

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:

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)

  1. Remi Collet reporter

    More, this looks like it only affects "ev"


    $r = new ReflectionClass('mysqli');

    With MySQLi / PHP 5.6 or 7.0

      &object(ReflectionProperty)#20 (2) {
        string(13) "warning_count"
        string(6) "mysqli"

    With EvWatcher / PHP 5.6

      &object(ReflectionProperty)#5 (2) {
        string(8) "priority"
        string(9) "EvWatcher"

    With EvWatcher / PHP 7.0, additional quotes also appear here :(

      object(ReflectionProperty)#5 (2) {
        string(10) ""priority""
        string(9) "EvWatcher"
  2. Log in to comment