Skip to content

Instantly share code, notes, and snippets.

💻
Working on league/commonmark 2.0!

Colin O'Dell colinodell

💻
Working on league/commonmark 2.0!
View GitHub Profile
@colinodell
colinodell / portVarKeywords.php
Last active Sep 28, 2016 — forked from nikic/portAlternativeTags.php
Tool for changing "var" keywords to "public" in PHP
View portVarKeywords.php
<?php
/*
* Note: This script will directly modify the .php files in the given directory.
* It is assumed that the code is under version control, so you can easily review
* the changes using `git diff` or similar.
*/
function usageError() {
die("Usage: php portVarKeywords.php dir/\n");
You can’t perform that action at this time.