mirror of
https://github.com/php/php-src.git
synced 2026-04-23 16:08:35 +02:00
2d068c4f47
Fixes GH-16508 Closes GH-16532
21 lines
420 B
PHP
21 lines
420 B
PHP
--TEST--
|
|
GH-16508: Missing lineno in inheritance errors of delayed early bound classes
|
|
--EXTENSIONS--
|
|
opcache
|
|
--INI--
|
|
opcache.enable_cli=1
|
|
--FILE--
|
|
<?php
|
|
|
|
new Test2;
|
|
|
|
class Test2 extends Test {}
|
|
|
|
abstract class Test {
|
|
abstract function foo();
|
|
}
|
|
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Class Test2 contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Test::foo) in %s on line 5
|