|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2020-11-30 11:37 UTC] cmb@php.net
-Status: Open
+Status: Feedback
-Assigned To:
+Assigned To: cmb
[2020-11-30 11:37 UTC] cmb@php.net
[2020-12-13 04:22 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 08 04:00:01 2025 UTC |
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;