[php-langspec][Issue #226] - Should `$a instanceof $b instanceof $c` be permitted in implementation/specification?
| From: | noreply@php.net | Date: | Fri, 19 Apr 2019 02:40:47 +0000 |
| Subject: | [php-langspec][Issue #226] - Should `$a instanceof $b instanceof $c` be permitted in implementation/specification? | ||
| Groups: | php.standards | ||
| Request: | Send a blank email to standards-+get-1438@lists.php.net to get a copy of this message | ||
You can view the Issue on github:
https://github.com/php/php-langspec/issues/226
Comment by mattacosta:
I think a better solution is to just note that the Zend implementation is non-conforming. This has
the benefit of keeping the parse error as acceptable, while also letting other parsers choose if
they want to implement the deviation for compatibility purposes.
Since there are already multiple implementations that do not have bug, it makes more sense to go
through the RFC process at this point rather than unilaterally make them in violation of the
specification too.