PHP7 and remapping method calls |
05-01-2016, 03:25 PM
(This post was last modified: 05-01-2016, 03:28 PM by ivantcholakov. Edit Reason: Badly copied codesnippets )
See this section of the manual:
http://www.codeigniter.com/user_guide/ge...thod-calls Currently the method _remap() within the manual is shown in three possible signatures, on the extended classes: Code: public function _remap() If you use the first two declarations, on PHP7 a "should be compatible" warning will appear. I think, the third declaration always should be used on extender classes, nevertheless the parameters are used. Code: public function _remap($method, $params = array()) The manual needs a update about this. |
Welcome Guest, Not a member yet? Register Sign In |