3 ms·
Maybe. I think that's less likely than syntax error, for two reasons. #1, if you look in index.php, there's a < on line 228 and a > on line 258, correctly ren
by earenndil 7y ago
Maybe. I think that's less likely than syntax error, for two reasons.
#1, if you look in index.php, there's a < on line 228 and a > on line 258, correctly rendered. Granted, the < is part of a <=, which weakens that argument.
#2, if you look at the surrounding code, $user > 0 makes logical sense given what the code is doing (and assuming 0 represents an invalid/nonexistent userid, which I believe it does given that facebook userids increase monotonically).
- aruggirello 7y agoExcept that a syntax error isn't likely at all - this was production code. BTW just running "php -l" would have nailed this error - PHP refuses to run a script that cannot pass the tokenization step, resulting in a blank page (and the error being logged), so such a macroscopic error would probably be short-lived even in their test environment.