[Php] verifies that the CI framework controller performs the setget operation through different browsers and the same browser in a single example. it is confirmed that contoller is multi-sample and will be instantiated once each request, similar to the struts2 action .?? Class variables can be defined directly without being affected by multithreading .? & Lt ;? PhpclassInfoextendsCI_Controller {private $ user [php] verifies whether the CI framework controller is a singleton
Perform the set/get operation using different browsers and the same browser, and confirm that contoller is multi-sample. each request is instantiated once, similar to the struts2 action .?
?
Class variables can be directly defined without being affected by multithreading.
?
UserId = "234"; var_dump ($ this-> userId);} function get () {var_dump ($ this-> userId );}}
?