0

So I have this piece of code, it's for image upload system:

return (getBoolPreference('enableField#images@items'));

I have never seen # and @ at codes. If you could say what this return does and what is the meaning of # and @, I would be grateful

1 Answer 1

1

'enableField#images@items' is nothing more than a string for PHP in that syntax. Only your getBoolPreference function can tell how that string is used in your program.

Your return statement returns the output of getBoolPreference generated when a string 'enableField#images@items' is passed to it, nothing more, nothing less.

Sign up to request clarification or add additional context in comments.

1 Comment

I would like to know what the # and @ are used for

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.