hi,
a function can be defined from inside another function!
this works here:

<?php

function howru()
{
function hi()
{
echo "hi,";
}
hi();echo "how r u";
}

howru();
hi();

?>

this gives the same result:

<?php
function hi()
{
echo "hi,";
}
function howru()
{
hi();echo "how r u";
}

howru();
hi();

?>

It seems that even calling the function again from any place works!

Regards,
Khalid al-kary

_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to