Skip to content

scottmac/php-function-rename

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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');

About

Function Renaming in PHP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages