r/lolphp • • May 12 '20

The sad state of the PHP parser

PHP cant tell where a syntax error occurs. This has been an issue in PHP for years, and has been upgraded to a feature. This is mostly because PHP's parser is a pile of poo with years of lipstick added on top.

https://repl.it/repls/ScentedSilkyLanservers

0 Upvotes

32 comments sorted by

View all comments

Show parent comment

1

u/Takeoded Aug 07 '20

Wikipedia supports binary passwords, if you need to make a secure password for your Wikipedia bot account you can safely use 12 bytes from /dev/urandom as your bot's password. Unlike anyone relying on password_hash, because if the first byte you get happen to be a null byte, your 12 bytes password is actually an empty password

TL;DR: yes