Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save daGrevis/2398713 to your computer and use it in GitHub Desktop.

Select an option

Save daGrevis/2398713 to your computer and use it in GitHub Desktop.
`Fatal error: Cannot redeclare Foo::bar() in /var/www/foo/bar.php on line 8`
<?php
class Foo {
protected function bar($a, $b) {
}
public static function bar() {
}
}
@daGrevis

Copy link
Copy Markdown
Author

Gimme: Fatal error: Cannot redeclare Foo::bar() in /var/www/foo/bar.php on line 8.

Just fact!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment