Skip to content

Commit

Permalink
Fixed deprecation warning for dynamic property creation
Browse files Browse the repository at this point in the history
  • Loading branch information
sy-records committed Oct 28, 2023
1 parent c7834b3 commit 83126d8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion features/gc.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 3f93d2472fd7840299461246008b64982ebba5f1 Maintainer: mowangjuanzi Status: ready -->
<!-- EN-Revision: 9957fc259b7b920269ead2a0180969db5bf13433 Maintainer: mowangjuanzi Status: ready -->
<!-- CREDITS: Luffy -->
<chapter xml:id="features.gc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>垃圾回收</title>

Expand Down Expand Up @@ -370,6 +371,7 @@ a: (refcount=2, is_ref=1)=array (
class Foo
{
public $var = '3.14159265359';
public $self;
}
$baseMemory = memory_get_usage();
Expand Down Expand Up @@ -413,6 +415,7 @@ for ( $i = 0; $i <= 100000; $i++ )
class Foo
{
public $var = '3.14159265359';
public $self;
}
for ( $i = 0; $i <= 1000000; $i++ )
Expand Down

0 comments on commit 83126d8

Please sign in to comment.