PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Start/end tags> <PHP/FI 2 에서 PHP 3로 이주하기
Last updated: Sun, 25 Nov 2007

view this page in

old_function

old_function 구문은 PHP/FI2와 동일한 문법을 사용하는 함수를 선언하도록 해준다. ('function'을 'old_function'으로 변경하는것만 빼고)

이것은 사라져가는 기능이고, PHP/FI2->PHP 3변환기만으로 사용해야 한다.

Warning

old_function으로 선언된 함수는 PHP의 내부 코드에서 호출될수 없다. 이 말의 의미는 usort(), array_walk(), register_shutdown_function()과 같은 함수 안에서 이 함수를 사용할수 없다는것이다. old_function을 호출하기 위해 래퍼함수(일반적인 PHP 3 형태)를 작성함으로써 이런 제한을 극복할수 있다.



add a note add a note User Contributed Notes
old_function
There are no user contributed notes for this page.

Start/end tags> <PHP/FI 2 에서 PHP 3로 이주하기
Last updated: Sun, 25 Nov 2007
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites