b0y-101 Mini Shell


Current Path : E:/www/b-group.old/spfin - Copy/testpayment/src/xdebug/tests/coverage/
File Upload :
Current File : E:/www/b-group.old/spfin - Copy/testpayment/src/xdebug/tests/coverage/bug01691.inc

<?php
class Assert
{
	static function lazy()
	{
		return new self;
	}

	function __call($name, $args)
	{
		echo $name, ': ', join( ', ', $args ), "\n";
		return $this;
	}
}

class Sample
{
    public function __construct(string $latitude, string $longitude)
    {
        Assert::lazy()
            ->that($latitude, 'latitude')->range(-90, 90)
            ->that($longitude, 'longitude')->range(-140, 140)
            ->verifyNow();
    }
}
?>

Copyright © 2019 by b0y-101