Skip to content

Commit b6906b2

Browse files
committed
spl_autoload(): Clarify the value passed to the class parameter of the callback
php/doc-en@87ea6d1
1 parent dbe7285 commit b6906b2

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

reference/spl/functions/spl-autoload.xml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 450d2085da9bba991afb9c68d9c94fc06a67a8a7 Maintainer: takagi Status: ready -->
3+
<!-- EN-Revision: 87ea6d1675fe601a5dddf4538a465c3af664cd10 Maintainer: takagi Status: ready -->
44
<refentry xml:id="function.spl-autoload" xmlns="http://docbook.org/ns/docbook">
55
<refnamediv>
66
<refname>spl_autoload</refname>
@@ -29,7 +29,10 @@
2929
<term><parameter>class</parameter></term>
3030
<listitem>
3131
<para>
32-
インスタンスを作成するクラス名 (および名前空間名)。
32+
インスタンスを作成するクラス名。
33+
関数をコールする際は、名前空間付きのクラス名がパラメータとして渡されます。
34+
<parameter>class</parameter> には、
35+
完全修飾名の先頭のバックスラッシュは含まれません。
3336
</para>
3437
</listitem>
3538
</varlistentry>

0 commit comments

Comments
 (0)