Spent an hour debugging a PHP bug. Learned that
1) Global variables are not set in a function scope (kinda unique)
2) Accessing unset variables won't show a warning, just give NULL (like JS)
3) Using NULL as the connection with MYSQLI functions returns NULL without an error (WTF)
Conversation
Notices
-
Rémi Rampin (remram44@framapiaf.org)'s status on Tuesday, 05-Dec-2017 20:24:20 EST Rémi Rampin