I was in the process of moving a client's Web application to a new server, when I ran across this error:
"Deprecated: Assigning the return value of new by reference is deprecated in /FileMaker/Implementation/Parser/FMResultSet.php on line 65"
The messages being thrown by PHP were coming directly from the API, which was a little worrisome. I confirmed that I am running the latest version of the API, and the version of PHP that I'm running is 5.3.10.
My fix for this was to silence the messages being thrown by the API. I did this by placing an "@" sign in front of the call to include / require the API, like this:
// Include the FileMaker API for PHP.
This Web app is hosted on a Web server that is different than the server that the FileMaker databases are hosted on - which is probably why I was seeing the error. My guess is that the flavor of PHP installed with FileMaker Server would prevent these messages from being displayed.