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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 13 09:01:32 2025 UTC