Skip to content

Commit 28b39f1

Browse files
committed
Add an example of indirectly modifying readonly property
php/doc-en@801e7a1
1 parent dc33356 commit 28b39f1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

language/oop5/properties.xml

Lines changed: 2 additions & 1 deletion
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: c1f37a6c270aadbbb3da56a3973ffd62197adf2b Maintainer: takagi Status: ready -->
3+
<!-- EN-Revision: 801e7a15e8c9ee2d16966487dc9058d992450b46 Maintainer: takagi Status: ready -->
44
<!-- CREDITS: mumumu -->
55

66
<sect1 xml:id="language.oop5.properties" xmlns="http://docbook.org/ns/docbook">
@@ -327,6 +327,7 @@ $test->i++;
327327
++$test->i;
328328
$test->ary[] = 1;
329329
$test->ary[0][] = 1;
330+
unset($test->ary[0]);
330331
$ref =& $test->i;
331332
$test->i =& $ref;
332333
byRef($test->i);

0 commit comments

Comments
 (0)