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

Check out which types those examples get cast to and it should make more sense :) I don't know the exact rules for type detection in PHP, but it looks like that's the cause.



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

Search: