Skip to content
Permalink
Browse files

bug #19379 [VarDumper] Fix for PHP 7.1 (nicolas-grekas)

This PR was merged into the 2.7 branch.

Discussion
----------

[VarDumper] Fix for PHP 7.1

| Q             | A
| ------------- | ---
| Branch?       | 2.7
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #19377
| License       | MIT
| Doc PR        | -

Tests fail on 7.1 otherwise

Commits
-------

d422939 [VarDumper] Fix for 7.1
  • Loading branch information
fabpot committed Jul 18, 2016
2 parents 1376e14 + d422939 commit 37b299bb3ea4af1f624ff51666e25b8de2de6ee8
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Symfony/Component/VarDumper/Cloner/VarCloner.php
@@ -315,7 +315,7 @@ private static function initHashMask()
if (!empty($frame['line'])) {
ob_start();
debug_zval_dump($obj);
self::$hashMask = substr(ob_get_clean(), 17);
self::$hashMask = (int) substr(ob_get_clean(), 17);
}
}

0 comments on commit 37b299b

Please sign in to comment.
You can’t perform that action at this time.