warning 225: unreachable code
..
|
Re: warning 225: unreachable code
Anywhere you see the word 'return' in code, no code after that will be reached because the code exits the function at that line. I highlighted the lines that are unreachable. Of course you can sometimes see return PLUGIN_HANDLED (or w\e) with code after it but it is usually found within some type of conditional which will still allow code after it to be reached.
Code:
Example of when it can be ok for code after a return PHP Code:
|
Re: warning 225: unreachable code
..
|
| All times are GMT -4. The time now is 07:05. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.