B::d PHP Method

d() public method

public d ( ) : A
return A
    public function d() : A
    {
        return new A();
    }

Usage Example

    {
    }
    public function b(boolean $b1 = null, boolean $b2 = false, boolean $b3 = DTRUE, Boolean $b4 = B::btrue)
    {
    }
    public function c(A $c1 = null)
    {
    }
    public function d(double $d1 = null, double $d2 = 1.0)
    {
    }
    // , double $d3 = DD2, double $d4 = B::d3) {}
    public function f(float $f1 = null, float $f2 = 1.0, float $f3 = DD2, float $f4 = A::f3)
    {
    }
    public function i(int $i1 = null, Integer $i2 = B::ibig, int $i3 = D2, int $i4 = A::i0)
    {
    }
    public function s(string $s1 = null, string $s2 = "S", string $s3 = DABC, string $s4 = A::sabc)
    {
    }
}
$b = new B();
$b->a();
$b->b();
$b->c();
$b->d();
$b->i();
$b->s();
$b->f();
echo "Pass\n";