Skip to content

Commit 14b55b8

Browse files
committed
Don't use old style constructor in example
Closes GH-1406.
1 parent ec140c5 commit 14b55b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reference/array/functions/usort.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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)