Edit report at https://bugs.php.net/bug.php?id=57029&edit=1
ID: 57029 Updated by: sebast...@php.net Reported by: sebast...@php.net Summary: Add functionality to rename class attributes -Status: Open +Status: Closed Type: Feature/Change Request Package: runkit Operating System: Irrelevant PHP Version: Irrelevant -Assigned To: +Assigned To: sebastian Block user comment: N Private report: N Previous Comments: ------------------------------------------------------------------------ [2006-05-21 06:52:41] sebast...@php.net 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; } ?> ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=57029&edit=1