Connecting Tech Pros Worldwide Help | Site Map

function inner other

  #1  
Old November 14th, 2008, 01:55 PM
nawfer
Guest
 
Posts: n/a
if have a dir with:
Folder_a/subfolder_a/a.php
Folder_b/b.php

and one file a.php with one function that return some arguments
function A() {
$arr1 = array();
....
return $arr1;
}


how can inner file b.php to write a B function that recall function A
and return always the same arguments?


function B() {
recall here function A
}
  #2  
Old November 14th, 2008, 06:45 PM
Jerry Stuckle
Guest
 
Posts: n/a

re: function inner other


nawfer wrote:
Quote:
if have a dir with:
Folder_a/subfolder_a/a.php
Folder_b/b.php
>
and one file a.php with one function that return some arguments
function A() {
$arr1 = array();
....
return $arr1;
}
>
>
how can inner file b.php to write a B function that recall function A
and return always the same arguments?
>
>
function B() {
recall here function A
}

Answered in alt.php.

If you must post to multiple newsgroups, please crosspost instead of
multiposting.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Garbage collection of recursive inner function from.future.import@gmail.com answers 3 August 5th, 2008 01:25 PM
Variable scope - function in function Paul Lautman answers 6 May 22nd, 2006 11:35 AM
are inner functions always properties? olov.johansson@gmail.com answers 8 January 19th, 2006 12:55 PM
How to get source of nested function ? Richard A. DeVenezia answers 5 July 20th, 2005 11:02 AM