Hello Adam, That's why I wrote " is not possible to be done it in a _nice_ way", where "nice" is the key :) Yes, currently it can be done by using ZVALs, but I find it over-layered & over-structured than simply pass a zend_long for example in case of ints. As I understand ZVAL purpose in PHP is a bit different. Later in fetch_value ZVAL is copied into another, even not used further. A lot of unused operations.
About floating point numbers (msg89591.html), yes, great move. I'm with you and vote "yes". Maybe just name it PDO::PARAM_FLOAT instead of DOUBLE to be more in sync with PHP native types, as "double" describe more a size than a type. About unicode (msg88713.html) I think it’s a wrong way. It should be just strings/(var)chars as in PHP/DBMSes. We should instead improve/standardize getColumnMeta where we can return charset/collate, for other types numeric precision etc... Thank You, - Dorin Marcoci -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
