Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

PHP 5.4. Let's try that code:

  Fatal error: Using $this when not in object context in D:\Projects\2012\45blocks\45blocks\src\framework.php on line 19
It's a static class member.


You're right, I didn't get that it doesn't work in a static context. I stand corrected, that definitely sucks.




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

Search: