PHP: Vlastnosti - Manual
PHP  
downloads | documentation | faq | getting help | mailing lists | | php.net sites | links | my php.net 
search for in the  
<Udr�ov�n� aktu�lnostiHTTP autentikace a PHP>
view the version of this page
Last updated: Thu, 15 Jul 2004


add a note add a note User Contributed Notes
Vlastnosti
yohgaki at hotmail dot com
14-Apr-2001 09:48
PHP manages freeing all resources. Users does not required to free file handle resource, database resources, memory, etc, unless programmer need to free resource during script execution.
(All resources are released after script execution)

PHP4 also have reference count feature. For example, memory for variables is shared when it assigned to other variable. If contents has been changed, PHP4 allocate new memory for it.

For example, programmer does not have to use pass by reference for large parameters for better performance with PHP4.

It would be a nice section for new PHP users, if there is "Resource Handling" section or like. Explanation about reference count feature in PHP4 would be very helpful to write better PHP4 scripts also.

<Udr�ov�n� aktu�lnostiHTTP autentikace a PHP>
 Last updated: Thu, 15 Jul 2004
show source | credits | sitemap | contact | advertising | mirror sites 
Copyright © 2001-2004 The PHP Group
All rights reserved.
This unofficial mirror is operated at: /
Last updated: Sun Nov 14 23:09:54 2004 Local time zone must be set--see zic manual page