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

Untitled - Stikked
From Reliable Bird, 11 Years ago, written in C.
Embed
  1. /*********************************************************************
  2.  *
  3.  * Copyright (C) 2003,  Blekinge Institute of Technology
  4.  *
  5.  * Filename:      main.c
  6.  * Author:        Simon Kagstrom <ska@bth.se>
  7.  * Description:   main function for nibbles game.
  8.  *
  9.  * $Id: main.c 1369 2005-01-20 20:57:54Z ska $
  10.  *
  11.  ********************************************************************/
  12. #include <stdio.h>  /* printf */
  13. #include <stdlib.h> /* atoi */
  14.  
  15. extern void start_game(int len, int n_apples);
  16.  
  17. int main(int argc, char *argv[])
  18. {
  19.   int len, apples;
  20.  
  21.   if (argc < 3)
  22.     {
  23.       printf("Usage: %s LEN APPLES\n", argv[0]);
  24.       return 1;
  25.     }
  26.  
  27.   len = atoi(argv[1]);
  28.   apples = atoi(argv[2]);
  29.  
  30.   start_game(len, apples);
  31.  
  32.   return 0;
  33. }
  34.