Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

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

share|improve this question

1 Answer 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.

share|improve this answer
    
I would like to know what the # and @ are used for –  ThisGuy Sep 3 '13 at 20:34

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.