A PHP Error was encountered

Severity: 8192

Message: Function create_function() is deprecated

Filename: geshi/geshi.php

Line Number: 4698

Backtrace:

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 4698
Function: _error_handler

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 4621
Function: _optimize_regexp_list_tokens_to_string

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 1655
Function: optimize_regexp_list

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 2029
Function: optimize_keyword_group

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 2168
Function: build_parse_cache

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/Process.php
Line: 45
Function: parse_code

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/models/Pastes.php
Line: 517
Function: syntax

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/controllers/Main.php
Line: 693
Function: getPaste

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/index.php
Line: 315
Function: require_once

Test - Stikked
From Cruntus, 10 Years ago, written in Java.
Embed
  1. package com.minepile.mpmg;
  2.  
  3. import org.bukkit.plugin.java.JavaPlugin;
  4.  
  5. import com.minepile.mpmg.events.BukkitEvents;
  6. import com.minepile.mpmg.util.GameManager;
  7.  
  8. public class MPMGMain extends JavaPlugin {
  9.        
  10.         //Global Server Variables
  11.         private static String pluginVersion = "Pre-Alpha 0.1.5";
  12.         private static boolean debugMessages = true;
  13.         private static int minPlayers = 2;
  14.         private static int maxPlayers = 16;
  15.        
  16.         //Load objects
  17.         public static MPMGMain plugin;
  18.         private GameManager gameManager = new GameManager(null);
  19.        
  20.         //Plugin is being enabled, lets do something.
  21.         public void onEnable() {
  22.                 plugin = this;
  23.                
  24.                 //Register BukkitEvent listener class
  25.                 new BukkitEvents(this);
  26.                 new GameManager(this);
  27.                
  28.                 //Start Core logic of MiniGame
  29.                 gameManager.gameManagerTask();
  30.         }
  31.  
  32.         //Getters used for global settings
  33.         public static String getPluginVersion() {
  34.                 return pluginVersion;
  35.         }
  36.         public static boolean isDebugMessages() {
  37.                 return debugMessages;
  38.         }
  39.         public static int getMinPlayers() {
  40.                 return minPlayers;
  41.         }
  42.         public static int getMaxPlayers() {
  43.                 return maxPlayers;
  44.         }
  45.  
  46. }