Skip to content

Instantly share code, notes, and snippets.

@Shaked
Last active December 11, 2015 01:34
Show Gist options
  • Select an option

  • Save Shaked/13b61d6a41554caeb26f to your computer and use it in GitHub Desktop.

Select an option

Save Shaked/13b61d6a41554caeb26f to your computer and use it in GitHub Desktop.
.in
<?php
//passes: StripUnUsedSemiColon
function x() {
};
$x = "a";
if ($x) {};
if ($x) {
do($x);
};
class X {
public function t() {
switch($x) {
case "f":
return function(){
x();
};
break;
};
};
};
<?php
//passes: StripUnUsedSemiColon
function x() {
}
$x = "a";
if ($x) {}
if ($x) {
do($x);
}
class X {
public function t() {
switch ($x) {
case "f":
return function () {
x();
};
break;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment