php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6334 session handling with objects
Submitted: 2000-08-24 10:46 UTC Modified: 2000-08-24 10:51 UTC
From: ce at beer dot com Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0.1pl2 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ce at beer dot com
New email:
PHP Version: OS:

 

 [2000-08-24 10:46 UTC] ce at beer dot com
this simple script crashes after a refresh

<?
session_register("ttt");

echo ++ $ttt->id ;

?>

it gives
Fatal error: Cannot increment/decrement overloaded objects nor string offsets in /home/httpd/jvc/test.idea on line 4

on previous versions it works

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-24 10:51 UTC] stas@php.net
Works in latest CVS, I think it was fixed right after 4.0.1pl2 was out. If this won't work in 4.0.2, please reopen.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 10 20:01:37 2024 UTC