|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-08-25 19:33 UTC] dima at snaiper dot net
[2013-07-18 02:14 UTC] pollita@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: pollita
[2013-07-18 02:14 UTC] pollita@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Nov 04 18:00:01 2025 UTC |
Description: ------------ Will good if programmer can overload "=" asssing operator. For example class test { protected $var; function __assign($v) { $this->var = $v; } function __construct($v) { $this->var = $v; } } $a = new test(321); // 321 $a = 123; // 123