Hacker News new | past | comments | ask | show | jobs | submit login

You can do:

$strlen = 'strlen';

echo $strlen('test');

I’ve also seen things like this:

$return = ...

You can’t use a keyword as a variable in most other languages.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: