Jeroen Beckers schrieb:
Hi,
This is the situation:
Flash uses AMFPHP to call a php function 'test1()' .
In my php file, the function is defined as followed:
function test1()
{
test2();
return "Hello";
}
function test2()
{
return "World";
}
Now, AMFPHP returns "World" (when I call test1() ), but I would expect
him to return "Hello" (like flash would do).
Is this a feature or a bug? (Or maybe just a hole in my PHP knowledge ?)
seems like php returns mean to 'break' this. i'd suggest to put the retrurn of test2() into
a local var.
it just doesn't make sense anyway, even if it would return just 'Hello', right ?
micha
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com