Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 311 Bytes

README.md

File metadata and controls

14 lines (10 loc) · 311 Bytes

Function Renaming in PHP

A utility function for renaming functions for the purpose of stubbing out things that are untested

Installation

  • phpize
  • ./configure --enable-rename
  • make && make install

Usage

<?php
function old_function() { }
rename_function('old_function', 'new_function');