Ticket #1044 (closed defect: fixed)
La r224 de class.wiki2xhtml.php n'est pas compatible PHP<5.2.2
| Reported by: | bruno | Owned by: | xave |
|---|---|---|---|
| Priority: | highest | Milestone: | 2.2 |
| Component: | module:clearbricks | Version: | dev |
| Severity: | critical | Keywords: | |
| Cc: |
Description
class.wiki2xhtml.php introduit le code suivant dans getLine
else {
$type = 'p';
echo '/^\\\(?<line>(?:('.implode('|',$this->linetags).')).*)$/';exit;
if (preg_match('/^\\\(?<line>(?:('.implode('|',$this->linetags).')).*)$/',$line,$cap)) {
$line = $cap['line'];
}
$line = trim($line);
}
Le support de la syntaxe ?<name> dans les regexp a été introduite en php 5.2.2, ce qui signifie que clearbricks n'est plus compatible avec les versions antérieurs de php.
Cf. http://forum.dotclear.net/viewtopic.php?id=42791 (free par exemple est en php 5.1.3)
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

