Hello!
I'm very new to use panels module.

My question is how to use argument into custom php code inside panels.

I set argument like "testpanel/username."
When I go to "contents" section and they show what substitutes I can use like, "%user:uid" for user ID and "%user:name" for User name.

However when I try to insert custom php code like, return %user:uid; is not working at all.
Result is "Parse error: syntax error, unexpected '%' in ...."

Can anyone help me how to fix?

Thank you so much!