mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00

We should not try to perform a delayed early bind if the class has already been declared. This matches the behavior of an ordinary early bind.
5 lines
71 B
PHP
5 lines
71 B
PHP
<?php
|
|
if (class_exists(B::class)) {
|
|
return;
|
|
}
|
|
class B extends A {}
|