#30616 [Opn->Fbk]: Cant return as reference from offsetget() for mysqli_stmt->bind_param()

From: Date: Fri, 29 Oct 2004 22:56:12 +0000
Subject: #30616 [Opn->Fbk]: Cant return as reference from offsetget() for mysqli_stmt->bind_param()
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-68483@lists.php.net to get a copy of this message
ID: 30616 Updated by: derick@php.net Reported By: john at milsson dot nu -Status: Open +Status: Feedback Bug Type: MySQLi related Operating System: Windows PHP Version: 5.0.2 New Comment: Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2004-10-29 21:26:35] john at milsson dot nu Description: ------------ Fatal error: Objects used as arrays in post/pre increment/decrement must return values by reference when I try to use $mysqli_stmt->bind_param('s',$arrayAccessObj['offset']); even though offsetget is declared as function &offsetGet($key) { return $this->{'_'.strtolower($key)}; } ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=30616&edit=1

« previous php.bugs (#68483) next »