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

They are not. Attributes are metadata that can reflected/accessed at runtime: https://php.watch/versions/8.0/attributes



Comments can also be accessed at runtime :)


And a program can generally read its source code and make fancy adhoc interpretation, sure. That’s nowhere close to specified facilities that you are guarantied to be able to use with a fair amount of trust in the resulting outcome with the regular toolbox.




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: