Webhosting and cheap domain registration services
  

 Home

PHP Manual
PrevAppendix D. Migrating from PHP/FI 2 to PHP 3Next

old_function

The old_function statement allows you to declare a function using a syntax identical to PHP/FI2 (except you must replace 'function' with 'old_function'.

This is a deprecated feature, and should only be used by the PHP/FI2->PHP 3 convertor.

Warning

Functions declared as old_function cannot be called from PHP's internal code. Among other things, this means you can't use them in functions such as usort(), array_walk(), and register_shutdown_function(). You can get around this limitation by writing a wrapper function (in normal PHP 3 form) to call the old_function.


PrevHomeNext
Migrating from PHP/FI 2 to PHP 3UpStart/end tags

 

  

 

 

 Network sites:

Cheap Domain Registrar : Cheap domains registration from $5.95
Active-Domain.com : Domain registration and domain name transfer services
 

Disclaimer: This documentation is provided only for the benefits of our hosting customers.
For authoritative source of the documentation, please refer to http://www.php.net/docs.php