Can someone else try this out for me?  I am a active user (and fan)  
of the new AMFPHP service browser (1.9) built in Flex, but  I am  
getting a strange result and I don't know whether it's a bug in the  
AMFPHP Service Browser or just something I am overlooking.

create a PHP service with the following simple method

function testMethod($str){
        return $str;
}

now go to the service browser, navigate to your service, select the  
testMethod.

Enter "test 123"  -> result should be "test123"

Now Enter "123test" -> result should be "123test" ... but in my case,  
it isn't. Instead it returns "123"

The service browser seems to be chopping off everything after the  
number.  My guess is that the code is trying to guess the datatype  
from the first character or something like that, but I haven't seen  
the source so I don't know. Obviously, when testing address strings  
this is somewhat of a problem (which is how I found it.)  I also  
think the bug is just in the Service Browser and not in AMFPHP, but I  
haven't done enough experiments to confirm that yet.

I'll have to look into how to submit a bug to this project, but I  
just want to make sure others are getting the same results as me  
before I jump to the conclusion that this is a bug.

Thanks, Kevin

Reply via email to