$warnings
$warnings : array<mixed,string>
Warning messages.
Refactors a PHP4 class file to have both the old-style and new-style constructor method names, and have them in the correct order for both backward and forward compatibility.
Extend this class to implement actual refactorings.
_swapCtors(integer $ctor5, integer $start, integer $ctor4)
Swaps the PHP 5 and PHP 4 constructors.
integer | $ctor5 | The start position of the PHP 5 constructor. |
integer | $start | The start position of the PHP 4 constructor including phpdoc. |
integer | $ctor4 | The start position of the PHP 4 constructor. |