A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_URI::$config is deprecated

Filename: core/URI.php

Line Number: 101

Backtrace:

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_Router::$uri is deprecated

Filename: core/Router.php

Line Number: 127

Backtrace:

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$benchmark is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 10
Function: __construct

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$hooks is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 10
Function: __construct

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$config is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 10
Function: __construct

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$log is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 10
Function: __construct

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$utf8 is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 10
Function: __construct

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$uri is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 10
Function: __construct

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$exceptions is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 10
Function: __construct

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$router is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 10
Function: __construct

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$output is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 10
Function: __construct

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$security is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 10
Function: __construct

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$input is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 10
Function: __construct

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$lang is deprecated

Filename: core/Controller.php

Line Number: 75

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 10
Function: __construct

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$load is deprecated

Filename: core/Controller.php

Line Number: 78

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 10
Function: __construct

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$db is deprecated

Filename: core/Loader.php

Line Number: 396

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 10
Function: __construct

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property CI_DB_mysqli_driver::$autoinit is deprecated

Filename: database/DB_driver.php

Line Number: 371

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 10
Function: __construct

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Optional parameter $prod_file declared before required parameter $minify is implicitly treated as a required parameter

Filename: libraries/Carabiner.php

Line Number: 464

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 10
Function: __construct

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$carabiner is deprecated

Filename: core/Loader.php

Line Number: 1283

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 10
Function: __construct

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Languages::$geshi_languages is deprecated

Filename: models/Languages.php

Line Number: 12

Backtrace:

File: /home/paste/public_html/application/models/Languages.php
Line: 12
Function: _error_handler

File: /home/paste/public_html/application/controllers/Main.php
Line: 12
Function: model

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Languages::$favorite_languages is deprecated

Filename: models/Languages.php

Line Number: 13

Backtrace:

File: /home/paste/public_html/application/models/Languages.php
Line: 13
Function: _error_handler

File: /home/paste/public_html/application/controllers/Main.php
Line: 12
Function: model

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$languages is deprecated

Filename: core/Loader.php

Line Number: 358

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 12
Function: model

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$curl is deprecated

Filename: core/Loader.php

Line Number: 1283

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 13
Function: library

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$recaptcha_publickey is deprecated

Filename: controllers/Main.php

Line Number: 20

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 20
Function: _error_handler

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$recaptcha_privatekey is deprecated

Filename: controllers/Main.php

Line Number: 21

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 21
Function: _error_handler

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$use_recaptcha is deprecated

Filename: controllers/Main.php

Line Number: 22

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 22
Function: _error_handler

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Return type of CI_Session_database_driver::open($save_path, $name) should either be compatible with SessionHandlerInterface::open(string $path, string $name): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Filename: drivers/Session_database_driver.php

Line Number: 129

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 63
Function: library

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Return type of CI_Session_database_driver::close() should either be compatible with SessionHandlerInterface::close(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Filename: drivers/Session_database_driver.php

Line Number: 280

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 63
Function: library

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Return type of CI_Session_database_driver::read($session_id) should either be compatible with SessionHandlerInterface::read(string $id): string|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Filename: drivers/Session_database_driver.php

Line Number: 151

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 63
Function: library

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Return type of CI_Session_database_driver::write($session_id, $session_data) should either be compatible with SessionHandlerInterface::write(string $id, string $data): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Filename: drivers/Session_database_driver.php

Line Number: 208

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 63
Function: library

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Return type of CI_Session_database_driver::destroy($session_id) should either be compatible with SessionHandlerInterface::destroy(string $id): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Filename: drivers/Session_database_driver.php

Line Number: 297

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 63
Function: library

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Return type of CI_Session_database_driver::gc($maxlifetime) should either be compatible with SessionHandlerInterface::gc(int $max_lifetime): int|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

Filename: drivers/Session_database_driver.php

Line Number: 335

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 63
Function: library

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 282

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 63
Function: library

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: session_set_cookie_params(): Session cookie parameters cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 289

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 63
Function: library

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 304

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 63
Function: library

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 314

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 63
Function: library

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 315

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 63
Function: library

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 316

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 63
Function: library

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 317

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 63
Function: library

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: ini_set(): Session ini settings cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 375

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 63
Function: library

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: session_set_save_handler(): Session save handler cannot be changed after headers have already been sent

Filename: Session/Session.php

Line Number: 110

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 63
Function: library

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: session_start(): Session cannot be started after headers have already been sent

Filename: Session/Session.php

Line Number: 143

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 63
Function: library

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$session is deprecated

Filename: core/Loader.php

Line Number: 1283

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 63
Function: library

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: stristr(): Passing null to parameter #1 ($haystack) of type string is deprecated

Filename: controllers/Main.php

Line Number: 229

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 229
Function: stristr

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: stristr(): Passing null to parameter #1 ($haystack) of type string is deprecated

Filename: controllers/Main.php

Line Number: 251

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 251
Function: stristr

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: stristr(): Passing null to parameter #1 ($haystack) of type string is deprecated

Filename: controllers/Main.php

Line Number: 269

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 269
Function: stristr

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$pastes is deprecated

Filename: core/Loader.php

Line Number: 358

Backtrace:

File: /home/paste/public_html/application/controllers/Main.php
Line: 584
Function: model

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property Main::$process is deprecated

Filename: core/Loader.php

Line Number: 1283

Backtrace:

File: /home/paste/public_html/application/models/Pastes.php
Line: 421
Function: library

File: /home/paste/public_html/application/controllers/Main.php
Line: 592
Function: getPaste

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: filter_var(): Passing null to parameter #3 ($options) of type array|int is deprecated

Filename: core/Input.php

Line Number: 572

Backtrace:

File: /home/paste/public_html/application/models/Pastes.php
Line: 522
Function: ip_address

File: /home/paste/public_html/application/controllers/Main.php
Line: 592
Function: getPaste

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$benchmark is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /home/paste/public_html/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /home/paste/public_html/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /home/paste/public_html/application/controllers/Main.php
Line: 599
Function: view

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$hooks is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /home/paste/public_html/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /home/paste/public_html/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /home/paste/public_html/application/controllers/Main.php
Line: 599
Function: view

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$config is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /home/paste/public_html/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /home/paste/public_html/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /home/paste/public_html/application/controllers/Main.php
Line: 599
Function: view

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$log is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /home/paste/public_html/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /home/paste/public_html/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /home/paste/public_html/application/controllers/Main.php
Line: 599
Function: view

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$utf8 is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /home/paste/public_html/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /home/paste/public_html/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /home/paste/public_html/application/controllers/Main.php
Line: 599
Function: view

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$uri is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /home/paste/public_html/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /home/paste/public_html/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /home/paste/public_html/application/controllers/Main.php
Line: 599
Function: view

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$exceptions is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /home/paste/public_html/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /home/paste/public_html/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /home/paste/public_html/application/controllers/Main.php
Line: 599
Function: view

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$router is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /home/paste/public_html/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /home/paste/public_html/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /home/paste/public_html/application/controllers/Main.php
Line: 599
Function: view

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$output is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /home/paste/public_html/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /home/paste/public_html/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /home/paste/public_html/application/controllers/Main.php
Line: 599
Function: view

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$security is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /home/paste/public_html/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /home/paste/public_html/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /home/paste/public_html/application/controllers/Main.php
Line: 599
Function: view

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$input is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /home/paste/public_html/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /home/paste/public_html/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /home/paste/public_html/application/controllers/Main.php
Line: 599
Function: view

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$lang is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /home/paste/public_html/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /home/paste/public_html/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /home/paste/public_html/application/controllers/Main.php
Line: 599
Function: view

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$load is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /home/paste/public_html/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /home/paste/public_html/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /home/paste/public_html/application/controllers/Main.php
Line: 599
Function: view

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$db is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /home/paste/public_html/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /home/paste/public_html/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /home/paste/public_html/application/controllers/Main.php
Line: 599
Function: view

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$carabiner is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /home/paste/public_html/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /home/paste/public_html/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /home/paste/public_html/application/controllers/Main.php
Line: 599
Function: view

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$languages is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /home/paste/public_html/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /home/paste/public_html/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /home/paste/public_html/application/controllers/Main.php
Line: 599
Function: view

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$curl is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /home/paste/public_html/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /home/paste/public_html/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /home/paste/public_html/application/controllers/Main.php
Line: 599
Function: view

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$recaptcha_publickey is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /home/paste/public_html/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /home/paste/public_html/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /home/paste/public_html/application/controllers/Main.php
Line: 599
Function: view

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$recaptcha_privatekey is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /home/paste/public_html/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /home/paste/public_html/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /home/paste/public_html/application/controllers/Main.php
Line: 599
Function: view

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$use_recaptcha is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /home/paste/public_html/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /home/paste/public_html/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /home/paste/public_html/application/controllers/Main.php
Line: 599
Function: view

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$session is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /home/paste/public_html/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /home/paste/public_html/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /home/paste/public_html/application/controllers/Main.php
Line: 599
Function: view

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$pastes is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /home/paste/public_html/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /home/paste/public_html/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /home/paste/public_html/application/controllers/Main.php
Line: 599
Function: view

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: Creation of dynamic property MY_Loader::$process is deprecated

Filename: core/MY_Loader.php

Line Number: 108

Backtrace:

File: /home/paste/public_html/application/core/MY_Loader.php
Line: 108
Function: _error_handler

File: /home/paste/public_html/application/core/MY_Loader.php
Line: 30
Function: _ci_load

File: /home/paste/public_html/application/controllers/Main.php
Line: 599
Function: view

File: /home/paste/public_html/index.php
Line: 284
Function: require_once

Runtime invocation - Paste.ie - an Irish pastebin
From LordCrc, 10 Years ago, written in Delphi (Object Pascal).
Embed
  1. type
  2.   IWidget = interface(IInvokable)
  3.     function GetId: string;
  4.     function WidgetType: string;
  5.  
  6.     property Id: string read GetId;
  7.   end;
  8.  
  9.   TWidget = class(TInterfacedObject, IWidget)
  10.   private
  11.     FId: string;
  12.     function GetId: string;
  13.   public
  14.     constructor Create(const Id: string);
  15.     function WidgetType: string; virtual; abstract;
  16.  
  17.     property Id: string read GetId;
  18.   end;
  19.  
  20.   TRoundWidget = class(TWidget)
  21.   private
  22.     FRadius: double;
  23.   public
  24.     constructor Create(const Id: string; const Radius: double);
  25.     function WidgetType: string; override;
  26.  
  27.     property Radius: double read FRadius;
  28.   end;
  29.  
  30. { TWidget }
  31.  
  32. constructor TWidget.Create(const Id: string);
  33. begin
  34.   inherited Create;
  35.  
  36.   FId := Id;
  37. end;
  38.  
  39. function TWidget.GetId: string;
  40. begin
  41.   result := FId;
  42. end;
  43.  
  44. { TRoundWidget }
  45.  
  46. constructor TRoundWidget.Create(const Id: string; const Radius: double);
  47. begin
  48.   inherited Create(Id);
  49.  
  50.   FRadius := Radius;
  51. end;
  52.  
  53. function TRoundWidget.WidgetType: string;
  54. begin
  55.   result := 'Round';
  56. end;
  57.  
  58.  
  59. var
  60.   widget: TWidget;
  61.   iw: IWidget;
  62.   f: RIFunc<string>; // type RIFunc<R> = reference to function(const Instance): R;
  63.   r: RIFunc<double>;
  64.   id, wt: string;
  65.   rad: double;
  66. begin
  67.   widget := TRoundWidget.Create('42', 42);
  68.  
  69.   try
  70.     f := RIConstructor<TWidget>.PropGetter<string>('Id');
  71.     id := f(widget);
  72.     WriteLn(id);  // 42
  73.  
  74.     r := RIConstructor<TRoundWidget>.PropGetter<double>('Radius');
  75.     rad := r(widget);
  76.     WriteLn(rad); // 4.20000000000000E+0001
  77.  
  78.     f := RIConstructor.Func<string>(TypeInfo(TWidget), 'WidgetType');
  79.     wt := f(widget);
  80.     WriteLn(wt);  // Round
  81.  
  82.  
  83.     iw := TRoundWidget.Create('abc', 123);
  84.  
  85.     f := RIConstructor.PropGetter<string>(TypeInfo(IWidget), 'Id');
  86.     id := f(iw);  
  87.     WriteLn(id);  // abc
  88.    
  89.   finally
  90.     widget.Free;
  91.   end;
  92. end.