This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
All in one script to show bug with Phalcon 3.0 on type casting bug and use of mysql BIT(1). | |
My purpose is to get a configuration allowing a coherent type binding, while being able to use snapshots in models. | |
Default configuration works but is not satisfying for reason #1 : | |
[ | |
'use_bit' => true, | |
'use_dynamic_update' => false, (default) | |
'cast_on_hydrate' => true, (forced) |