|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2002-04-02 05:47 UTC] yohgaki@php.net
  [2002-04-02 08:41 UTC] yohgaki@php.net
  [2004-06-06 15:59 UTC] dvck0 at galaxienet dot cz
  [2004-08-06 23:52 UTC] vrana@php.net
  [2004-12-01 19:13 UTC] tony2001@php.net
 | |||||||||||||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 11:00:01 2025 UTC | 
Hello, I don't know if it is really a bug, but it display nothing in error log and it is very anoying. I create an object 'order' and an object 'customer'. The order object has a customer object inside. To avoid duplicate in session I tried the following code when the customer login and have already started to order: $current_order->customer = &$current_customer; After this, PHP display the current page well, but any next page fail to display. Nothing apear in error_log. On a personal log system I can see that PHP is starting to loop on the page juste after the session is initialized and when the line session_register('current_customer'); is called. PHP hang after about 20 loops. After reading in detail the way session are working, I understand better that my code is a little bit dangerous (use reference in session), but PHP should return an error or display anything when it face this king of code and not enter in an invisible loop. Cedric.