| 
        php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             
             [2011-10-27 07:15 UTC] sebastian@php.net
 
-Status:      Open
+Status:      Closed
-Assigned To:
+Assigned To: sebastian
  | 
    |||||||||||||||||||||||||||
            
                 
                Copyright © 2001-2025 The PHP GroupAll rights reserved.  | 
        Last updated: Tue Nov 04 04:00:01 2025 UTC | 
Description: ------------ I could not find functionality to rename class attributes (and obviously need it ;-). Reproduce code: --------------- <?php class Foo { private $bar; protected $bar2; public $bar3; } runkit_property_rename('Foo', 'bar', 'baz'); runkit_property_rename('Foo', 'bar2', 'baz2'); runkit_property_rename('Foo', 'bar3', 'baz3'); ?> Expected result: ---------------- <?php class Foo { private $baz; protected $baz2; public $baz3; } ?>