Hi, Discussion disperses a way I didn't expect.
As far as I know, next PHP release will be the 5.5, and would have a strong compatibility with 5.4. So strict typing would not happened for 5.5 release. If I understand correctly, at best, PHP 5.5 will have weak type hinting (like https://wiki.php.net/rfc/typecheckingstrictandweak#option_1_current_type_juggeling_rules_with_e_strict_on_data_loss ). So what do you think about having enum implementation in PHP 5.5 without type hiting ? Or with weak one if finally PHP 5.5 is released with weak type hinting ? Perhaps we shoulld discuss about what kind of type hinting we want for 5.5 and 6.0 in separated threads ? Regards -- Samuel DEAL samuel.d...@gmail.com