Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #31303 [VarDumper] Use \ReflectionReference for determining if a …
…key is a reference (php >= 7.4) (dorumd, nicolas-grekas) This PR was merged into the 3.4 branch. Discussion ---------- [VarDumper] Use \ReflectionReference for determining if a key is a reference (php >= 7.4) | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #31135 | License | MIT | Doc PR | - Prepare for PHP 7.4: use ReflectionReference in VarCloner Commits ------- 40f24ef [VarDumper] finish PHP 7.4 support and add tests e99a6b8 [VarDumper] Use \ReflectionReference for determining if a key is a reference (php >= 7.4)
- Loading branch information
Showing
5 changed files
with
103 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?php | ||
|
||
namespace Symfony\Component\VarDumper\Tests\Fixtures; | ||
|
||
class Php74 | ||
{ | ||
public $p1 = 123; | ||
public \stdClass $p2; | ||
|
||
public function __construct() | ||
{ | ||
$this->p2 = new \stdClass(); | ||
} | ||
} |