ID: 8672
Updated by: derick
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Feedback
Bug Type: Reproduceable crash
PHP Version: 4.0.4
Assigned To:
Comments:
Can you try to reprocude this when php 4.0.5 will be released next week?
Previous Comments:
---------------------------------------------------------------------------
[2001-01-12 05:30:39] [EMAIL PROTECTED]
I had code like this:
$user = new eZUser( $session->variable("AuthenticatedUser" ) );
And I noticed now that this creates a segfault in php.
The workaround is changing the code to:
$val = $session->variable( "AuthenticatedUser" );
$user = new eZUser( $val );
The code worked with php-4.0.3pl1 and has worked with
4.0.4, but it's reproduceable and I think it's a PHP bug.
The eZSession::variable() function returns a string value.
I've tested it with 4.0.4pl1 and the bug is still there.
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=8672&edit=2
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]