Exception : ParseError

syntax error, unexpected '=>' (T_DOUBLE_ARROW)

1
/kunden/431424_13355/webseiten/subdomains/app.daga2021.de/memyc/resources/Database.php, line 738
735.         private function pdoSanitize($sType)
736.         {
737.             $cSanitizeParameter = match ($sType) {
738.                 'boolean' => \PDO::PARAM_BOOL,
739.                 'integer' => \PDO::PARAM_INT,
740.                 'string' => \PDO::PARAM_STR,
741.                 default => \PDO::PARAM_STR,
2
/kunden/431424_13355/webseiten/subdomains/app.daga2021.de/memyc/Autoloader.php, line 47
44.             list($sNamespace, $sExtensions, $sModuleName, $sClassName, $sSubClassName) = array_pad(explode(DIRECTORY_SEPARATOR, $sModule), 5, null);
45.             if ($sExtensions == 'resources' || $sExtensions == 'interfaces') {
46.                 $sFileName = $sModule . '.php';
47.                 $this->loadRequiredFile($sFileName);
48.             } elseif ($sExtensions == 'bootstrap') {
49.                 $sFileName = MEMYC_FOLDER.DIRECTORY_SEPARATOR.CORE_BOOTSTRAP_FOLDER.DIRECTORY_SEPARATOR.$sModuleName.DIRECTORY_SEPARATOR.$this->getExtensionFolder($sClassName, $sSubClassName);
50.                 $this->loadRequiredFile($sFileName);
3
{#file}, line {#line}
735.         private function pdoSanitize($sType)
736.         {
737.             $cSanitizeParameter = match ($sType) {
738.                 'boolean' => \PDO::PARAM_BOOL,
739.                 'integer' => \PDO::PARAM_INT,
740.                 'string' => \PDO::PARAM_STR,
741.                 default => \PDO::PARAM_STR,
4
/kunden/431424_13355/webseiten/subdomains/app.daga2021.de/memyc/bootstrap/mycbase/model/Model.php, line 52
49.             $this->setFullEntityName($this->getVendorName(), $this->getNamespaceName(), $this->getClassName(), $this->getSubClassName(), $this->getEntityName());
50.             $this->setFullModelName($this->getVendorName(), $this->getNamespaceName(), $this->getClassName(), $this->sModelSuffix);
51. 
52.             $this->oDatabase = new \memyc\resources\Database($this->getTableName(), $this->getFullEntityName());
53.             $this->oIdentityMap = new \memyc\resources\IdentityMap();
54.             $this->oObjectOperation = new \memyc\resources\ObjectOperation();
55.             $this->oLoggingToScreen = \memyc\resources\LogBook::getInstance("screen");
5
/kunden/431424_13355/webseiten/subdomains/app.daga2021.de/memyc/core/session/controller/Controller.php, line 120
117.         public function mycSessionRead($sSessionId)
118.         {
119.             $sTime   = time();
120.             $oSessionModel = new \memyc\core\session\Model('memyc\core\session\entity\sessions');
121.             $oFindSession = $oSessionModel->findById($sSessionId);
122.             // Session is still there, just update the time
123.             if ($oFindSession != '') {
6
{#file}, line {#line}
735.         private function pdoSanitize($sType)
736.         {
737.             $cSanitizeParameter = match ($sType) {
738.                 'boolean' => \PDO::PARAM_BOOL,
739.                 'integer' => \PDO::PARAM_INT,
740.                 'string' => \PDO::PARAM_STR,
741.                 default => \PDO::PARAM_STR,
7
/kunden/431424_13355/webseiten/subdomains/app.daga2021.de/memyc/core/session/controller/Controller.php, line 94
91.             //$this->setSavePath($this->registry);
92.             //session_save_path ($this->getSavePath());
93.             if (session_status() == PHP_SESSION_NONE) {
94.                 session_start();
95.             }
96.             // echo session_id();
97.         }
8
/kunden/431424_13355/webseiten/subdomains/app.daga2021.de/memyc/resources/MycClassHandler.php, line 419
416.             //echo "$sModuleName->$sMethodName()
\n"; 417. $aExtension = array(); 418. $oComponent = new $sModuleName($this->oRequest, $this->oResponse); 419. $sMixedOutput = $oComponent->$sMethodName(); 420. if ($sMixedOutput != '') { 421. // CSS or JS files will be loaded on demand (in the backend) 422. $this->setDefaultFilesOnDemand($sExtensionName);
9
/kunden/431424_13355/webseiten/subdomains/app.daga2021.de/memyc/resources/MycClassHandler.php, line 71
68.                                 $sFullName = $aExtensionInformation['fullName'];
69.                                 $sClassName = $aExtensionInformation['shortName'];
70.                                 $sModuleName = $sFullName. '\\' .$sComponent;
71.                                 $sMixedOutput = $this->loadMethodOfModule($sModuleName, $sActionMethod, $sExtensionName);
72.                                 $this->prioritizeDataInCollector($sFullName, $sClassName, $sComponent, $sActionMethod, $aModuleRoute, $sMixedOutput);
73.                             }
74.                         }
10
/kunden/431424_13355/webseiten/subdomains/app.daga2021.de/memyc/bootstrap/core/controller/Controller.php, line 66
63.             $aOrderedModuleList = $this->oMycDependencyTools->sortExtensionsTopological($aDetailedCoreInfo);
64.             // remove memyc\bootstrap\core from the list, because it is already called here
65.             array_shift($aOrderedModuleList);
66.             $this->dataArray = $this->oMycClassHandler->callRoutes($aOrderedModuleList);
67.             $this->oResponse->setData($this->dataArray);
68.         }
69.     }
11
/kunden/431424_13355/webseiten/subdomains/app.daga2021.de/memyc/bootstrap/bootstrap/controller/Controller.php, line 77
74. 
75.             // Load once Core controller and load all extensions initially from core folder
76.             $oCoreController = new \memyc\bootstrap\core\Controller($this->oRequest, $this->oResponse);
77.             $oCoreController->executeCoreModules();
78. 
79.             $this->setUserLanguage();
80. 
12
/kunden/431424_13355/webseiten/subdomains/app.daga2021.de/memyc/init.php, line 124
121.     date_default_timezone_set($oRegistry->TIMEZONE);
122. }
123. $oBootstrapController = new bootstrap\bootstrap\Controller($oHttpRequest, $oHttpResponse);
124. $sOutput = $oBootstrapController->start();
125. 
126. // Compressing the output for a faster transfer from server to client
127. $oOutputCompression = new resources\OutputCompression();
13
/kunden/431424_13355/webseiten/subdomains/app.daga2021.de/index.php, line 19
16. require_once('conf/MycConfiguration.php');
17. 
18. // Initializing the system
19. require_once('memyc/init.php');