Remove $a = array($a) which is miscompiled by Zend OpCache.
[htmlpurifier.git] / library / HTMLPurifier / Strategy / Core.php
blob4414c17d6e7de50f07f5a22bd3019d321ef90030
1 <?php
3 /**
4 * Core strategy composed of the big four strategies.
5 */
6 class HTMLPurifier_Strategy_Core extends HTMLPurifier_Strategy_Composite
8 public function __construct()
10 $this->strategies[] = new HTMLPurifier_Strategy_RemoveForeignElements();
11 $this->strategies[] = new HTMLPurifier_Strategy_MakeWellFormed();
12 $this->strategies[] = new HTMLPurifier_Strategy_FixNesting();
13 $this->strategies[] = new HTMLPurifier_Strategy_ValidateAttributes();
17 // vim: et sw=4 sts=4