collation has nothing to do with the connection charset
That's for MySQL to figure out how to sort your table. What you need to be concerned with is the negotiated connection characterset. That's set in the DSN in PDO or by mysqli_set_charset
That's the thing that tells your DBMS how to encode things before it sends them over to PHP.
Hi guys, I was playing around with the new typed properties and noticed that TypeErrors thrown by uninitialized properties cannot be catched: 3v4l.org/PKKc2