• English
  • Nederlands

User Tools

Site Tools


en:php7

This is an old revision of the document!


A PCRE internal error occured. This might be caused by a faulty plugin

====== PHP 7 support ====== This page is a collection of questions / solutions for PHP7 implementation ===== General ===== * none yet ===== JpGraph ===== The code to check the PHP version should be changed so that version 7.0 is accepted.\\ Script **jpgraph.php** lines 230-242\\ function **CheckPHPVersion**\\ add the extra line 4 with\\ **if ($majorC > $majorR) return true;** <code>function CheckPHPVersion($aMinVersion) { list($majorC, $minorC, $editC) = preg_split('/[\/.-]/', PHP_VERSION); list($majorR, $minorR, $editR) = preg_split('/[\/.-]/', $aMinVersion); if ($majorC > $majorR) return true; // this line added for PHP7 if ($majorC != $majorR) return false; if ($majorC < $majorR) return false; // same major - check minor if ($minorC > $minorR) return true; if ($minorC < $minorR) return false; // and same minor if ($editC >= $editR) return true; return true; }</code>

en/php7.1453968184.txt.gz · Last modified: 2016/01/28 08:03 by wvdkuil