[php-src] Issue #10573: class_alias does not preserve case
From: doekia Date: Sun, 12 Feb 2023 13:11:25 +0000 Subject: [php-src] Issue #10573: class_alias does not preserve case Groups: php.bugs Request: Send a blank email to php-bugs+get-243716@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/10573
Author: doekia
### Description
The following code:
```php
<?php
class A {}
class_alias('A','B');
print_r(get_declared_classes());
```
Resulted in this output:
```
A
b
```
But I expected this output instead:
```
A
B
```
### PHP Version
PHP 8.1.13, all to date
### Operating System
Linux
Thread (1 message)
| « previous | php.bugs (#243716) | next » |
|---|