<?php
/**
* "The class implementing the interface must use the exact same method signatures
* as are defined in the interface. Not doing so will result in a fatal error."
*/
interface IFoo {
public function bar($one);
}
class Foo implements IFoo {
public function bar($one, $two = 2) {
}
}
$foo = new Foo();