Hi all,

Am 16.03.2016 um 21:29 schrieb Fleshgrinder:
> Another more complicated user case would be *mysqli_fetch_object* that
> populates the properties with values from a storage but values that
> should become something specific and strict at some point but are
> initially populated as strings. Type coercion would be a nice thing here
> but with strict checks afterwards.

I really don't like the special way mysqli and PDO use here.
Both should use the __set_state() magic method as would any userland code.
But that is a discussion for another thread ;-)

Greets
Dennis

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to