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: 551
Function: getPaste
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/index.php
Line: 315
Function: require_once
A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/system/core/Exceptions.php:271)
Filename: view/raw.php
Line Number: 2
Backtrace:
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/themes/geocities/views/view/raw.php
Line: 2
Function: header
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/core/MY_Loader.php
Line: 173
Function: include
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/core/MY_Loader.php
Line: 43
Function: _ci_load
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/controllers/Main.php
Line: 558
Function: view
File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/index.php
Line: 315
Function: require_once
* @package PHP WSDL generator
* @version 1.2.2
*/
class PHPParser {
/**
* Array with all the files to be parsed
*
* @var array
*/
private $files = array();
/**
* Classes to be ignored on parsing
*
* @var array
*/
private $ignoredClasses = array();
/**
* Methods to be ignored on parsing
*
* @var array
*/
private $ignoredMethods = array();
/**
* Auto ignore all public methods
*
* @var boolean
*/
private $ignorePublic = false;
/**
* Auto ignore all protected methods
*
* @var boolean
*/
private $ignoreProtected = true;
/**
* Auto ignore all private methods
*
* @var boolean
*/
private $ignorePrivate = true;
/**
* Auto ignore all static methods
*
* @var boolean
*/
private $ignoreStatic = false;
/**
* Array holding all the classes
*
* @var array
*/
private $classes = array();
/**
* Array holding found classes but with errors (only classes withoutmethods for now)
*
* @var array
*/
private $foundClasses = array();
/**
* Array holding all the classes variables
*
* @var array
*/
private $classesVars = array();
/**
* Array holding all the data
*
* @var array
*/
private $allData = array();
/**
* Current class that is parsed
*
* @var string
*/
private $currentClass;
/**
* The latest comment found for a method
*
* @var string
*/
private $currentMethodComment;
/**
* The latest type found for a method
*
* @var string
*/
private $currentMethodType;
/**
* The latest method found for a class
*
* @var string
*/
private $currentMethod;
/**
* Latest parameters found for a method
*
* @var array
*/
private $currentParams = array();
/**
* The variable that holds the XML
*
* @var XMLCreator
*/
private $WSDL;
/**
* Messages for the WSDL
*
* @var array
*/
private $WSDLMessages = array();
/**
* Bindings for the WSDL
*
* @var array
*/
private $bindings = array();
/**
* PortTypes for the WSDL
*
* @var array
*/
private $portTypes = array();
/**
* Services for the WSDL
*
* @var array
*/
private $WSDLService = array();
/**
* Constructor
*
*/
public function __construct () {
}
/**
* Unignore all.
* All ignored items will be removed (including method types)
*
*/
public function ignoreNone () {
$this->ignoredClasses = array();
$this->ignoredMethods = array();
$this->ignorePrivate = array();
$this->ignoreProtected = array();
$this->ignorePublic = array();
$this->ignoreStatic = array();
}
/**
* Ignore or not all public methods
*
* @param boolean $ignore
*/
public function ignorePublic ($ignore = false) {
if ($ignore === true) {
$this->ignorePublic = true;
} elseif ($ignore === false) {
$this->ignorePublic = false;
}
}
/**
* Ignore or not all protected methods
*
* @param boolean $ignore
*/
public function ignoreProtected ($ignore = false) {
if ($ignore === true) {
$this->ignoreProtected = true;
} elseif ($ignore === false) {
$this->ignoreProtected = false;
}
}
/**
* Ignore or not all private methods
*
* @param boolean $ignore
*/
public function ignorePrivate ($ignore = false) {
if ($ignore === true) {
$this->ignorePrivate = true;
} elseif ($ignore === false) {
$this->ignorePrivate = false;
}
}
/**
* Ignore or not all static methods
*
* @param boolean $ignore
*/
public function ignoreStatic ($ignore = false) {
if ($ignore === true) {
$this->ignoreStatic = true;
} elseif ($ignore === false) {
$this->ignoreStatic = false;
}
}
/**
* Add a class name to ignore on parsing
*
* @param string $class
*/
public function ignoreClass ($class) {
$this->ignoredClasses[] = $class;
}
/**
* Add classes to ignor on parsing
*
* @param array $classes
*/
public function ignoreClasses ($classes) {
if (is_array($classes)) {
foreach ($classes as $class) {
$this->ignoreClass($class);
}
}
}
/**
* Add a method of a class to ignore on parsing
*
* @param array $method
*/
public function ignoreMethod ($method) {
if (is_array($method)) {
$this->ignoredMethods[key($method)][] = $method[key($method)];
}
}
/**
* Add methods of classes to ignore on parsing
*
* @param array $methods
*/
public function ignoreMethods ($methods) {
if (is_array($methods)) {
foreach ($methods as $class=>$method) {
if ($class != "" && $method != "")
$this->ignoredMethods[$class][] = $method;
}
}
}
/**
* Add a file to parse
*
* @param string $file
*/
public function addFile ($file) {
if (file_exists($file)) {
$this->files[] = $file;
} else {
trigger_error("File