Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Development
Flashback PHP - A Habbo CMS written in vanilla PHP
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Weasel" data-source="post: 465302" data-attributes="member: 9520"><p>It can happen that you need to pass a lot of variables. Passing over classes through an array is still very bad practice. Especially because when you do so, you can't define the type. You're taking away a lot of strength of PHP by doing do. I highly, and I can't stress this enough, no matter what reason, do not advice to pass along data like that. Unless it's for example an array of strings that are all going to be used in the same way (for example, to sort a list or something)</p></blockquote><p></p>
[QUOTE="Weasel, post: 465302, member: 9520"] It can happen that you need to pass a lot of variables. Passing over classes through an array is still very bad practice. Especially because when you do so, you can't define the type. You're taking away a lot of strength of PHP by doing do. I highly, and I can't stress this enough, no matter what reason, do not advice to pass along data like that. Unless it's for example an array of strings that are all going to be used in the same way (for example, to sort a list or something) [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Development
Flashback PHP - A Habbo CMS written in vanilla PHP
Top