protected function stripPadding($value)
	{
		$pad = ord($value[($len = strlen($value)) - 1]);

		return $this->paddingIsValid($pad, $value) ? substr($value, 0, strlen($value) - $pad) : $value;
	}
protected function stripPadding($value)
	{
		$pad = ord($value[($len = strlen($value)) - 1]);

		return $this->paddingIsValid($pad, $value) ? substr($value, 0, strlen($value) - $pad) : $value;
	}
protected function stripPadding ( $ value ) { $ pad = ord ( $ value [ ( $ len = strlen ( $ value ) ) - 1 ] ) ; return $ this -> paddingIsValid ( $ pad , $ value ) ? substr ( $ value , 0 , strlen ( $ value ) - $ pad ) : $ value ; }
Remove the padding from the given value.

@param  string  $value
@return string
Remove the padding from the given value .