Skip to content

Commit c6249c9

Browse files
committed
Don't use old style constructor in example
php/doc-en@14b55b8
1 parent 771e88a commit c6249c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reference/array/functions/usort.xml

Lines changed: 2 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: 31cacb6f262f455c616094cfe6d09bc0d1df2748 Maintainer: takagi Status: ready -->
3+
<!-- EN-Revision: 14b55b8b4ba3a51b38cd3b1c360e21df632ca890 Maintainer: takagi Status: ready -->
44
<!-- CREDITS: hirokawa,shimooka -->
55
<refentry xml:id="function.usort" xmlns="http://docbook.org/ns/docbook">
66
<refnamediv>
@@ -163,7 +163,7 @@ $fruits[2]: lemons
163163
class TestObj {
164164
var $name;
165165
166-
function TestObj($name)
166+
function __construct($name)
167167
{
168168
$this->name = $name;
169169
}

0 commit comments

Comments
 (0)