Bug #62569 [Fbk->NoF]: __set magic method cause Apache with PHP-module to reload
| From: | php-bugs at lists dot php dot net | Date: | Sun, 13 Dec 2020 04:22:08 +0000 |
| Subject: | Bug #62569 [Fbk->NoF]: __set magic method cause Apache with PHP-module to reload | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-231047@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=62569&edit=1
ID: 62569
Updated by: php-bugs@lists.php.net
Reported by: jk555 at hotbox dot ru
Summary: __set magic method cause Apache with PHP-module to
reload
-Status: Feedback
+Status: No Feedback
Type: Bug
Package: Apache2 related
Operating System: Windows XP
PHP Version: 5.3.14
Assigned To: cmb
Private report: N
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2020-11-30 11:37:05] cmb@php.net
If you still experience this crash with any of the actively
supported PHP versions[1], please provide a stack backtrace[2].
[1] <https://www.php.net/supported-versions.php>
[2] <http://bugs.php.net/bugs-generating-backtrace-win32.php>
------------------------------------------------------------------------
[2012-07-15 06:51:31] jk555 at hotbox dot ru
Description:
------------
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;
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=62569&edit=1