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 Tacky Macaque, 9 Years ago, written in PHP.
Embed
  1. <?php
  2.  
  3. namespace App\Presenters;
  4.  
  5. class Breasts
  6. {
  7.     const NONE = -1;
  8.     const SIZE_0 = 0;
  9.     const SIZE_1 = 1;
  10.     const SIZE_2 = 2;
  11.     const SIZE_3 = 3;
  12.     const SIZE_4 = 4;
  13.     const SIZE_5 = 5;
  14.     const SIZE_6 = 6;
  15.     const SIZE_7 = 7;
  16.  
  17.     /**
  18.      * Return all class constants as an array
  19.      *
  20.      * @author Mathias Schmidt <schmidt@apollo13.cz>
  21.      * @return array
  22.      */
  23.     public static function getArray()
  24.     {
  25.         $class = new \ReflectionClass(__CLASS__);
  26.         return $class->getConstants();
  27.     }
  28. }