PHP-Generics
PHP-Generics copied to clipboard
Alternative syntax?
Great hack :D
I'm suggesting an alternative syntax
https://eval.in/313740 compilation works
<?php
interface Zar〈FooˏBar〈GooˏDoo〉〉{}
class Baz implements Zar〈FooˏBar〈GooˏDoo〉〉{}
i believe this is possible since php 5.4 ( zend.multibyte )
Doesn't compile on PHP 7: https://eval.in/689273