Severity: 8192
Message: Creation of dynamic property CI_URI::$config is deprecated
Filename: core/URI.php
Line Number: 101
Backtrace:
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: 8192
Message: Creation of dynamic property CI_Router::$uri is deprecated
Filename: core/Router.php
Line Number: 127
Backtrace:
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: 8192
Message: Creation of dynamic property Main::$benchmark is deprecated
Filename: core/Controller.php
Line Number: 75
Backtrace:
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 10
Function: __construct
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: 8192
Message: Creation of dynamic property Main::$hooks is deprecated
Filename: core/Controller.php
Line Number: 75
Backtrace:
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 10
Function: __construct
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: 8192
Message: Creation of dynamic property Main::$config is deprecated
Filename: core/Controller.php
Line Number: 75
Backtrace:
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 10
Function: __construct
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: 8192
Message: Creation of dynamic property Main::$log is deprecated
Filename: core/Controller.php
Line Number: 75
Backtrace:
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 10
Function: __construct
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: 8192
Message: Creation of dynamic property Main::$utf8 is deprecated
Filename: core/Controller.php
Line Number: 75
Backtrace:
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 10
Function: __construct
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: 8192
Message: Creation of dynamic property Main::$uri is deprecated
Filename: core/Controller.php
Line Number: 75
Backtrace:
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 10
Function: __construct
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: 8192
Message: Creation of dynamic property Main::$exceptions is deprecated
Filename: core/Controller.php
Line Number: 75
Backtrace:
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 10
Function: __construct
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: 8192
Message: Creation of dynamic property Main::$router is deprecated
Filename: core/Controller.php
Line Number: 75
Backtrace:
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 10
Function: __construct
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: 8192
Message: Creation of dynamic property Main::$output is deprecated
Filename: core/Controller.php
Line Number: 75
Backtrace:
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 10
Function: __construct
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: 8192
Message: Creation of dynamic property Main::$security is deprecated
Filename: core/Controller.php
Line Number: 75
Backtrace:
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 10
Function: __construct
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: 8192
Message: Creation of dynamic property Main::$input is deprecated
Filename: core/Controller.php
Line Number: 75
Backtrace:
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 10
Function: __construct
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: 8192
Message: Creation of dynamic property Main::$lang is deprecated
Filename: core/Controller.php
Line Number: 75
Backtrace:
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 10
Function: __construct
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: 8192
Message: Creation of dynamic property Main::$load is deprecated
Filename: core/Controller.php
Line Number: 78
Backtrace:
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 10
Function: __construct
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: 8192
Message: Creation of dynamic property Main::$db is deprecated
Filename: core/Loader.php
Line Number: 396
Backtrace:
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 10
Function: __construct
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: 8192
Message: Creation of dynamic property CI_DB_mysqli_driver::$autoinit is deprecated
Filename: database/DB_driver.php
Line Number: 371
Backtrace:
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 10
Function: __construct
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: 8192
Message: Creation of dynamic property Main::$carabiner is deprecated
Filename: core/Loader.php
Line Number: 1283
Backtrace:
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 10
Function: __construct
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: 8192
Message: Creation of dynamic property Languages::$geshi_languages is deprecated
Filename: models/Languages.php
Line Number: 12
Backtrace:
File: /www/wwwroot/www.code666.cn/application/models/Languages.php
Line: 12
Function: _error_handler
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 12
Function: model
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: 8192
Message: Creation of dynamic property Languages::$favorite_languages is deprecated
Filename: models/Languages.php
Line Number: 13
Backtrace:
File: /www/wwwroot/www.code666.cn/application/models/Languages.php
Line: 13
Function: _error_handler
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 12
Function: model
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: 8192
Message: Creation of dynamic property Main::$languages is deprecated
Filename: core/Loader.php
Line Number: 358
Backtrace:
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 12
Function: model
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: 8192
Message: Creation of dynamic property Main::$curl is deprecated
Filename: core/Loader.php
Line Number: 1283
Backtrace:
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 13
Function: library
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: 8192
Message: Creation of dynamic property Main::$recaptcha_publickey is deprecated
Filename: controllers/Main.php
Line Number: 20
Backtrace:
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 20
Function: _error_handler
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: 8192
Message: Creation of dynamic property Main::$recaptcha_privatekey is deprecated
Filename: controllers/Main.php
Line Number: 21
Backtrace:
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 21
Function: _error_handler
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: 8192
Message: Creation of dynamic property Main::$use_recaptcha is deprecated
Filename: controllers/Main.php
Line Number: 22
Backtrace:
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 22
Function: _error_handler
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
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: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 63
Function: library
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
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: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 63
Function: library
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
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: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 63
Function: library
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
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: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 63
Function: library
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
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: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 63
Function: library
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
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: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 63
Function: library
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: Warning
Message: ini_set(): Session ini settings cannot be changed after headers have already been sent (sent from /www/wwwroot/www.code666.cn/system/core/Exceptions.php on line 271)
Filename: Session/Session.php
Line Number: 282
Backtrace:
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 63
Function: library
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: Warning
Message: session_set_cookie_params(): Session cookie parameters cannot be changed after headers have already been sent (sent from /www/wwwroot/www.code666.cn/system/core/Exceptions.php on line 271)
Filename: Session/Session.php
Line Number: 289
Backtrace:
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 63
Function: library
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: Warning
Message: ini_set(): Session ini settings cannot be changed after headers have already been sent (sent from /www/wwwroot/www.code666.cn/system/core/Exceptions.php on line 271)
Filename: Session/Session.php
Line Number: 304
Backtrace:
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 63
Function: library
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: Warning
Message: ini_set(): Session ini settings cannot be changed after headers have already been sent (sent from /www/wwwroot/www.code666.cn/system/core/Exceptions.php on line 271)
Filename: Session/Session.php
Line Number: 314
Backtrace:
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 63
Function: library
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: Warning
Message: ini_set(): Session ini settings cannot be changed after headers have already been sent (sent from /www/wwwroot/www.code666.cn/system/core/Exceptions.php on line 271)
Filename: Session/Session.php
Line Number: 315
Backtrace:
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 63
Function: library
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: Warning
Message: ini_set(): Session ini settings cannot be changed after headers have already been sent (sent from /www/wwwroot/www.code666.cn/system/core/Exceptions.php on line 271)
Filename: Session/Session.php
Line Number: 316
Backtrace:
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 63
Function: library
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: Warning
Message: ini_set(): Session ini settings cannot be changed after headers have already been sent (sent from /www/wwwroot/www.code666.cn/system/core/Exceptions.php on line 271)
Filename: Session/Session.php
Line Number: 317
Backtrace:
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 63
Function: library
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: Warning
Message: ini_set(): Session ini settings cannot be changed after headers have already been sent (sent from /www/wwwroot/www.code666.cn/system/core/Exceptions.php on line 271)
Filename: Session/Session.php
Line Number: 375
Backtrace:
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 63
Function: library
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: Warning
Message: session_set_save_handler(): Session save handler cannot be changed after headers have already been sent (sent from /www/wwwroot/www.code666.cn/system/core/Exceptions.php on line 271)
Filename: Session/Session.php
Line Number: 110
Backtrace:
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 63
Function: library
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: Warning
Message: session_start(): Session cannot be started after headers have already been sent (sent from /www/wwwroot/www.code666.cn/system/core/Exceptions.php on line 271)
Filename: Session/Session.php
Line Number: 143
Backtrace:
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 63
Function: library
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: 8192
Message: Creation of dynamic property Main::$session is deprecated
Filename: core/Loader.php
Line Number: 1283
Backtrace:
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 63
Function: library
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: 8192
Message: stristr(): Passing null to parameter #1 ($haystack) of type string is deprecated
Filename: controllers/Main.php
Line Number: 229
Backtrace:
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 229
Function: stristr
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: 8192
Message: stristr(): Passing null to parameter #1 ($haystack) of type string is deprecated
Filename: controllers/Main.php
Line Number: 251
Backtrace:
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 251
Function: stristr
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: 8192
Message: stristr(): Passing null to parameter #1 ($haystack) of type string is deprecated
Filename: controllers/Main.php
Line Number: 269
Backtrace:
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 269
Function: stristr
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: 8192
Message: Creation of dynamic property Main::$pastes is deprecated
Filename: core/Loader.php
Line Number: 358
Backtrace:
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 466
Function: model
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: 8192
Message: Creation of dynamic property Main::$process is deprecated
Filename: core/Loader.php
Line Number: 1283
Backtrace:
File: /www/wwwroot/www.code666.cn/application/models/Pastes.php
Line: 421
Function: library
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 470
Function: getPaste
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
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: /www/wwwroot/www.code666.cn/application/models/Pastes.php
Line: 522
Function: ip_address
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 470
Function: getPaste
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: 8192
Message: Creation of dynamic property MY_Loader::$benchmark is deprecated
Filename: core/MY_Loader.php
Line Number: 108
Backtrace:
File: /www/wwwroot/www.code666.cn/application/core/MY_Loader.php
Line: 108
Function: _error_handler
File: /www/wwwroot/www.code666.cn/application/core/MY_Loader.php
Line: 30
Function: _ci_load
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 478
Function: view
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: 8192
Message: Creation of dynamic property MY_Loader::$hooks is deprecated
Filename: core/MY_Loader.php
Line Number: 108
Backtrace:
File: /www/wwwroot/www.code666.cn/application/core/MY_Loader.php
Line: 108
Function: _error_handler
File: /www/wwwroot/www.code666.cn/application/core/MY_Loader.php
Line: 30
Function: _ci_load
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 478
Function: view
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: 8192
Message: Creation of dynamic property MY_Loader::$config is deprecated
Filename: core/MY_Loader.php
Line Number: 108
Backtrace:
File: /www/wwwroot/www.code666.cn/application/core/MY_Loader.php
Line: 108
Function: _error_handler
File: /www/wwwroot/www.code666.cn/application/core/MY_Loader.php
Line: 30
Function: _ci_load
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 478
Function: view
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: 8192
Message: Creation of dynamic property MY_Loader::$log is deprecated
Filename: core/MY_Loader.php
Line Number: 108
Backtrace:
File: /www/wwwroot/www.code666.cn/application/core/MY_Loader.php
Line: 108
Function: _error_handler
File: /www/wwwroot/www.code666.cn/application/core/MY_Loader.php
Line: 30
Function: _ci_load
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 478
Function: view
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: 8192
Message: Creation of dynamic property MY_Loader::$utf8 is deprecated
Filename: core/MY_Loader.php
Line Number: 108
Backtrace:
File: /www/wwwroot/www.code666.cn/application/core/MY_Loader.php
Line: 108
Function: _error_handler
File: /www/wwwroot/www.code666.cn/application/core/MY_Loader.php
Line: 30
Function: _ci_load
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 478
Function: view
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: 8192
Message: Creation of dynamic property MY_Loader::$uri is deprecated
Filename: core/MY_Loader.php
Line Number: 108
Backtrace:
File: /www/wwwroot/www.code666.cn/application/core/MY_Loader.php
Line: 108
Function: _error_handler
File: /www/wwwroot/www.code666.cn/application/core/MY_Loader.php
Line: 30
Function: _ci_load
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 478
Function: view
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: 8192
Message: Creation of dynamic property MY_Loader::$exceptions is deprecated
Filename: core/MY_Loader.php
Line Number: 108
Backtrace:
File: /www/wwwroot/www.code666.cn/application/core/MY_Loader.php
Line: 108
Function: _error_handler
File: /www/wwwroot/www.code666.cn/application/core/MY_Loader.php
Line: 30
Function: _ci_load
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 478
Function: view
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: 8192
Message: Creation of dynamic property MY_Loader::$router is deprecated
Filename: core/MY_Loader.php
Line Number: 108
Backtrace:
File: /www/wwwroot/www.code666.cn/application/core/MY_Loader.php
Line: 108
Function: _error_handler
File: /www/wwwroot/www.code666.cn/application/core/MY_Loader.php
Line: 30
Function: _ci_load
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 478
Function: view
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: 8192
Message: Creation of dynamic property MY_Loader::$output is deprecated
Filename: core/MY_Loader.php
Line Number: 108
Backtrace:
File: /www/wwwroot/www.code666.cn/application/core/MY_Loader.php
Line: 108
Function: _error_handler
File: /www/wwwroot/www.code666.cn/application/core/MY_Loader.php
Line: 30
Function: _ci_load
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 478
Function: view
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: 8192
Message: Creation of dynamic property MY_Loader::$security is deprecated
Filename: core/MY_Loader.php
Line Number: 108
Backtrace:
File: /www/wwwroot/www.code666.cn/application/core/MY_Loader.php
Line: 108
Function: _error_handler
File: /www/wwwroot/www.code666.cn/application/core/MY_Loader.php
Line: 30
Function: _ci_load
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 478
Function: view
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: 8192
Message: Creation of dynamic property MY_Loader::$input is deprecated
Filename: core/MY_Loader.php
Line Number: 108
Backtrace:
File: /www/wwwroot/www.code666.cn/application/core/MY_Loader.php
Line: 108
Function: _error_handler
File: /www/wwwroot/www.code666.cn/application/core/MY_Loader.php
Line: 30
Function: _ci_load
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 478
Function: view
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: 8192
Message: Creation of dynamic property MY_Loader::$lang is deprecated
Filename: core/MY_Loader.php
Line Number: 108
Backtrace:
File: /www/wwwroot/www.code666.cn/application/core/MY_Loader.php
Line: 108
Function: _error_handler
File: /www/wwwroot/www.code666.cn/application/core/MY_Loader.php
Line: 30
Function: _ci_load
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 478
Function: view
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: 8192
Message: Creation of dynamic property MY_Loader::$load is deprecated
Filename: core/MY_Loader.php
Line Number: 108
Backtrace:
File: /www/wwwroot/www.code666.cn/application/core/MY_Loader.php
Line: 108
Function: _error_handler
File: /www/wwwroot/www.code666.cn/application/core/MY_Loader.php
Line: 30
Function: _ci_load
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 478
Function: view
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: 8192
Message: Creation of dynamic property MY_Loader::$db is deprecated
Filename: core/MY_Loader.php
Line Number: 108
Backtrace:
File: /www/wwwroot/www.code666.cn/application/core/MY_Loader.php
Line: 108
Function: _error_handler
File: /www/wwwroot/www.code666.cn/application/core/MY_Loader.php
Line: 30
Function: _ci_load
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 478
Function: view
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: 8192
Message: Creation of dynamic property MY_Loader::$carabiner is deprecated
Filename: core/MY_Loader.php
Line Number: 108
Backtrace:
File: /www/wwwroot/www.code666.cn/application/core/MY_Loader.php
Line: 108
Function: _error_handler
File: /www/wwwroot/www.code666.cn/application/core/MY_Loader.php
Line: 30
Function: _ci_load
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 478
Function: view
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: 8192
Message: Creation of dynamic property MY_Loader::$languages is deprecated
Filename: core/MY_Loader.php
Line Number: 108
Backtrace:
File: /www/wwwroot/www.code666.cn/application/core/MY_Loader.php
Line: 108
Function: _error_handler
File: /www/wwwroot/www.code666.cn/application/core/MY_Loader.php
Line: 30
Function: _ci_load
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 478
Function: view
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: 8192
Message: Creation of dynamic property MY_Loader::$curl is deprecated
Filename: core/MY_Loader.php
Line Number: 108
Backtrace:
File: /www/wwwroot/www.code666.cn/application/core/MY_Loader.php
Line: 108
Function: _error_handler
File: /www/wwwroot/www.code666.cn/application/core/MY_Loader.php
Line: 30
Function: _ci_load
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 478
Function: view
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: 8192
Message: Creation of dynamic property MY_Loader::$recaptcha_publickey is deprecated
Filename: core/MY_Loader.php
Line Number: 108
Backtrace:
File: /www/wwwroot/www.code666.cn/application/core/MY_Loader.php
Line: 108
Function: _error_handler
File: /www/wwwroot/www.code666.cn/application/core/MY_Loader.php
Line: 30
Function: _ci_load
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 478
Function: view
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: 8192
Message: Creation of dynamic property MY_Loader::$recaptcha_privatekey is deprecated
Filename: core/MY_Loader.php
Line Number: 108
Backtrace:
File: /www/wwwroot/www.code666.cn/application/core/MY_Loader.php
Line: 108
Function: _error_handler
File: /www/wwwroot/www.code666.cn/application/core/MY_Loader.php
Line: 30
Function: _ci_load
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 478
Function: view
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: 8192
Message: Creation of dynamic property MY_Loader::$use_recaptcha is deprecated
Filename: core/MY_Loader.php
Line Number: 108
Backtrace:
File: /www/wwwroot/www.code666.cn/application/core/MY_Loader.php
Line: 108
Function: _error_handler
File: /www/wwwroot/www.code666.cn/application/core/MY_Loader.php
Line: 30
Function: _ci_load
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 478
Function: view
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: 8192
Message: Creation of dynamic property MY_Loader::$session is deprecated
Filename: core/MY_Loader.php
Line Number: 108
Backtrace:
File: /www/wwwroot/www.code666.cn/application/core/MY_Loader.php
Line: 108
Function: _error_handler
File: /www/wwwroot/www.code666.cn/application/core/MY_Loader.php
Line: 30
Function: _ci_load
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 478
Function: view
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: 8192
Message: Creation of dynamic property MY_Loader::$pastes is deprecated
Filename: core/MY_Loader.php
Line Number: 108
Backtrace:
File: /www/wwwroot/www.code666.cn/application/core/MY_Loader.php
Line: 108
Function: _error_handler
File: /www/wwwroot/www.code666.cn/application/core/MY_Loader.php
Line: 30
Function: _ci_load
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 478
Function: view
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: 8192
Message: Creation of dynamic property MY_Loader::$process is deprecated
Filename: core/MY_Loader.php
Line Number: 108
Backtrace:
File: /www/wwwroot/www.code666.cn/application/core/MY_Loader.php
Line: 108
Function: _error_handler
File: /www/wwwroot/www.code666.cn/application/core/MY_Loader.php
Line: 30
Function: _ci_load
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 478
Function: view
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /www/wwwroot/www.code666.cn/system/core/Exceptions.php:271)
Filename: view/raw.php
Line Number: 2
Backtrace:
File: /www/wwwroot/www.code666.cn/themes/default/views/view/raw.php
Line: 2
Function: header
File: /www/wwwroot/www.code666.cn/application/core/MY_Loader.php
Line: 147
Function: include
File: /www/wwwroot/www.code666.cn/application/core/MY_Loader.php
Line: 30
Function: _ci_load
File: /www/wwwroot/www.code666.cn/application/controllers/Main.php
Line: 478
Function: view
File: /www/wwwroot/www.code666.cn/index.php
Line: 284
Function: require_once
①:在运行时判断任意一个对象所属的类。
②:在运行时构造任意一个类的对象。
③:在运行时判断任意一个类所具有的成员变量和方法。
④: 在运行时调用任意一个对象的方法
反射机制允许程序在运行时通过反射的API获取类中的描述,方法,并且允许我们在运行时改变fields内容或者去调用methods
//源代码片段来自云代码http://yuncode.net
在JDK中,主要由以下类来实现Java反射机制,这些类都
位于java.lang.reflect包中
①:Class类:代表一个类。【注:这个Class类进行继承了Object,比较特别】
②:Field 类:代表类的成员变量(成员变量也称为类的属性)。
③:Method类:代表类的方法。
④:Constructor 类:代表类的构造方法。
⑤:Array类:提供了动态创建数组,以及访问数组的元素的静态方法
//源代码片段来自云代码http://yuncode.net
要想使用使用反射,我们要去获取我们需要进行去处理的类或者对象的Class对象,其中我们主要有三种方法去获取
①:使用Class的静态方法forName():例如:Class.forName("java.lang.Class");
②:使用XXX.Class语法:例如:String.Class;
③:使用具体某个对象.getClass()方法:例如String str="abc"; Class ?> tClass=str.getClass();
先看一个例子:这个例子对于指定的类名,使用反射来获取该类中的所有声明的方法,(使用第一种获取Class对象的方法)(主要代码如下:):
//源代码片段来自云代码http://yuncode.net
package com.jiangqq.reflection;
/**
* 使用反射来获取Class中的生命的方法,包括私有的方法
*/
import java.lang.reflect.Method;
public class Reflection1 {
public static void main(String[] args) throws Exception {
//使用Class去调用静态方法forName()获得java.lang.Class的Class对象
Class> tClass = Class.forName("java.lang.Class");
//获取该class中声明的所有方法
Method[] methods = tClass.getDeclaredMethods();
for (Method method : methods) {
System.out.println(method);
}
}
}
//源代码片段来自云代码http://yuncode.net
①: getName():获得类的完整名字。
②: getFields():获得类的public类型的属性。
③: getDeclaredFields():获得类的所有属性。
④: getMethods():获得类的public类型的方法。
⑤: getDeclaredMethods():获得类的所有方法。
⑥:getMethod(String name, Class[] parameterTypes):获得类的特定方法,name参数指定方法的名字parameterTypes参数指定方法的参数类型。
⑦:getConstructors():获得类的public类型的构造方法。
⑧:getConstructor(Class[] parameterTypes):获得类的特定构造方法,parameterTypes参数指定构造方法的参数类型。
⑨:newInstance():通过类的不带参数的构造方法创建这个类的一个对象。
先看上面的⑧和⑨其中都能生成对象,但是因为构造函数有无参和有参构造函数两种,所以我们分两种情况考虑
//源代码片段来自云代码http://yuncode.net
Class> tclass = Reflection2.class;
Object reflection2 = classType.newInstance();
//源代码片段来自云代码http://yuncode.net
Class> classType = Reflection2.class;
t reflection2 = classType.newInstance();
Constructor> constructor = classType.getConstructor(new Class[] {});
reflection2 = constructor.newInstance(new Object[] {});
//源代码片段来自云代码http://yuncode.net
Class> tClass = Person.class;
Constructor cons = classType.getConstructor(new Class[]{String.class, int.class});
Object obj = cons.newInstance(new Object[]{“zhangsan”, 19});
//源代码片段来自云代码http://yuncode.net