You are here

protected property Twig_Test_EscapingTest::$htmlSpecialChars in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/twig/twig/test/Twig/Tests/escapingTest.php \Twig_Test_EscapingTest::htmlSpecialChars

All character encodings supported by htmlspecialchars().

File

vendor/twig/twig/test/Twig/Tests/escapingTest.php, line 14

Class

Twig_Test_EscapingTest
This class is adapted from code coming from Zend Framework.

Code

protected $htmlSpecialChars = array(
  '\'' => ''',
  '"' => '"',
  '<' => '&lt;',
  '>' => '&gt;',
  '&' => '&amp;',
);