The original post: /r/php by /u/Alpine418 on 2025-01-04 09:23:01.

Hi guys.

I’m messing around with PDO and could not find any details about the PHP-types of fetched columns.

Is there a list to what PHP-types (string, int, float, etc.) PDO automatically converts fetched column values and under what configuration settings?

Google seach only shows me information about fetching modes (fetch_assoc, etc.).

Thanks.