public function FlattenExceptionTest::testRecursionInArguments in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/debug/Tests/Exception/FlattenExceptionTest.php \Symfony\Component\Debug\Tests\Exception\FlattenExceptionTest::testRecursionInArguments()
File
- vendor/symfony/ debug/ Tests/ Exception/ FlattenExceptionTest.php, line 179 
Class
Namespace
Symfony\Component\Debug\Tests\ExceptionCode
public function testRecursionInArguments() {
  $a = array(
    'foo',
    array(
      2,
      &$a,
    ),
  );
  $exception = $this
    ->createException($a);
  $flattened = FlattenException::create($exception);
  $trace = $flattened
    ->getTrace();
  $this
    ->assertContains('*DEEP NESTED ARRAY*', serialize($trace));
}