|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #62569 __set magic method cause Apache with PHP-module to reload
Submitted: 2012-07-15 06:51 UTC Modified: 2020-12-13 04:22 UTC
From: jk555 at hotbox dot ru Assigned: cmb (profile)
Status: No Feedback Package: Apache2 related
PHP Version: 5.3.14 OS: Windows XP
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.
Block user comment
Status: Assign to:
Bug Type:
From: jk555 at hotbox dot ru
New email:
PHP Version: OS:


 [2012-07-15 06:51 UTC] jk555 at hotbox dot ru
Apache with php module reloads, if I try to change property name inside __set magic method (for example, add underscore prefix).

Test script:
class A
  function __set ($p, $v)
    //$p = '_' . $p; // this line cause apache with php module to reload!
    $this->{$p} = $v;

$A = new A;
$A->a = 'a';
echo $A->_a;


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2020-11-30 11:37 UTC]
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2020-11-30 11:37 UTC]
If you still experience this crash with any of the actively
supported PHP versions[1], please provide a stack backtrace[2].

[1] <>
[2] <>
 [2020-12-13 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Mar 02 21:01:24 2021 UTC