language/types/resource.xml
95bdd6883b5dde9504701777ba81b3c5f15df52b
...
...
@@ -18,7 +18,7 @@
18
18
<title>Converting to resource</title>
19
19
20
20
<para>
21
-
As <type>resource</type> variables hold special handlers to opened files,
21
+
As <type>resource</type> variables hold special handles to opened files,
22
22
database connections, image canvas areas and the like, converting to a
23
23
<type>resource</type> makes no sense.
24
24
</para>
...
...
@@ -28,7 +28,7 @@
28
28
<title>Freeing resources</title>
29
29
30
30
<para>
31
-
Thanks to the reference-counting system introduced with PHP 4's Zend Engine,
31
+
Thanks to the reference-counting system being part of Zend Engine,
32
32
a <type>resource</type> with no more references to it is detected
33
33
automatically, and it is freed by the garbage collector. For this reason, it
34
34
is rarely necessary to free the memory manually.
35
35