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.
IV. 기능
- 차례
- 17. PHP로 HTTP 인증하기
- 18. 쿠키
- 19. Dealing with XForms
- 20. 파일 업로드 다루기
- 21. 원격 파일 사용하기
- 22. 연결 제어
- 23. 영구적인 데이터베이스 접속
- 24. 안전 모드
- 25. 커맨드 라인에서 PHP 사용하기
기능
yohgaki at hotmail dot com
14-Apr-2001 02:48
14-Apr-2001 02:48
