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

furchtbar.java - Stikked
From Paltry Frog, 9 Years ago, written in Java.
Embed
  1. package ch.hsr.oo.testat3.storyrekonstruktion;
  2.  
  3. import java.io.BufferedReader;
  4. import java.io.FileInputStream;
  5. import java.io.FileNotFoundException;
  6. import java.io.IOException;
  7. import java.io.InputStreamReader;
  8. import java.util.TreeMap;
  9.  
  10. public class StoryRekonstruktion {
  11.  
  12.         public static void main(String[] args) {
  13.                 TreeMap<Integer, String> treemap = new TreeMap<>();
  14.                 try (BufferedReader br = new BufferedReader(
  15.                                 new InputStreamReader(new FileInputStream("story-input.txt"), "utf-8"))) {
  16.                         for (String line; (line = br.readLine()) != null;) {
  17.                                 String[] lineArray = line.split("=");
  18.                                 treemap.put(Integer.parseInt(lineArray[0]), lineArray[1]);
  19.                         }
  20.                 } catch (FileNotFoundException e1) {
  21.                         // TODO Auto-generated catch block
  22.                         e1.printStackTrace();
  23.                 } catch (IOException e1) {
  24.                         // TODO Auto-generated catch block
  25.                         e1.printStackTrace();
  26.                 }
  27.  
  28.                 for (String word : treemap.values()) {
  29.                         System.out.print(word + " ");
  30.                 }
  31.         }
  32.  
  33. }
  34.  

Replies to furchtbar.java rss

Title Name Language When
Re: furchtbar.java Red Hummingbird python 9 Years ago.
Re: furchtbar.java Thundering Echidna java 9 Years ago.