rfc:mixed-typehint
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
rfc:mixed-typehint [2018/06/29 13:35] – clarifications, added mixed vs. void section majkl | rfc:mixed-typehint [2018/07/01 16:16] – Fix void* type carusogabriel | ||
---|---|---|---|
Line 56: | Line 56: | ||
} | } | ||
} | } | ||
- | class Baz extends | + | class Baz extends |
public function test(mixed $arg): mixed { | public function test(mixed $arg): mixed { | ||
return parent:: | return parent:: | ||
Line 67: | Line 67: | ||
As of PHP 7.1, PHP has a special '' | As of PHP 7.1, PHP has a special '' | ||
- | In some other languages like C/C++ '' | + | In some other languages like C/C++ '' |
This essentially matches the behavior of '' | This essentially matches the behavior of '' | ||
rfc/mixed-typehint.txt · Last modified: 2020/07/22 09:03 by kocsismate