1234567891011121314151617181920212223242526272829303132 |
- <?php
- namespace Symfony\Component\VarDumper\Caster;
- use Symfony\Component\VarDumper\Cloner\Stub;
- class GmpCaster
- {
- public static function castGmp(\GMP $gmp, array $a, Stub $stub, $isNested, $filter): array
- {
- $a[Caster::PREFIX_VIRTUAL.'value'] = new ConstStub(gmp_strval($gmp), gmp_strval($gmp));
- return $a;
- }
- }
|