mirror of
https://github.com/php/php-src.git
synced 2026-04-20 14:31:06 +02:00
We fix the most often occuring typos according to a recent codespell report[1] in tests, code comments and documentation. [1] <https://fossies.org/linux/test/php-src-master-f8f48ce.191129.tar.gz/codespell.html>.
20 lines
322 B
PHP
20 lines
322 B
PHP
--TEST--
|
|
ReflectionMethod::__toString() tests (overridden method)
|
|
--FILE--
|
|
<?php
|
|
class Foo {
|
|
function func() {
|
|
}
|
|
}
|
|
class Bar extends Foo {
|
|
function func() {
|
|
}
|
|
}
|
|
$m = new ReflectionMethod("Bar::func");
|
|
echo $m;
|
|
?>
|
|
--EXPECTF--
|
|
Method [ <user, overwrites Foo, prototype Foo> public method func ] {
|
|
@@ %s010.php 7 - 8
|
|
}
|