mirror of
https://github.com/bdnugget/php-src.git
synced 2026-11-07 09:17:29 +00:00
Fixes bug #76451, and more importantly lays necessary groundwork for covariant/contravariant types. Bug #76451 is just an edge case, but once covariance is introduced this will become a common problem instead.
5 lines
47 B
PHP
5 lines
47 B
PHP
<?php
|
|
|
|
class Foo {}
|
|
class_alias('Foo', 'Bar');
|