$nombreLigne = 0; // Remplacement des constantes par leur données foreach($info[$key[0]] as $constant => $data) { echo "
".$constant; //echo "
".$data['DATE']; foreach($data as $constant => $dataConstant) { echo "
2nde boucle FOREACH ".$dataConstant; $dataConstant = (file_exists($data)) ? $this->includeFile($data) : $data; //echo "TEST DE ".$blockTag1[$nombreLigne]." == \<\!-- BEGIN2 \-\-\>
"; if($blockTag1[$nombreLigne] == htmlentities('')){ echo "PLOOOOP DETECTION TAG 2"; } $nombreLigne++; } //$data = (file_exists($data)) ? $this->includeFile($data) : $data;; //$blockTag = preg_replace('`{'.$type.'.'.$constant.'}`', $data, $blockTag); }