public static function explodeWithPadding($glue, $data, $length = null, $padding=null)
	{
	    $array = static::explode($glue, $data, $length);
	    
	    if (count($array) < $length)
	    {
	        foreach (range(1, $length - count($array)) as $i)
	        {
	            array_push($array, $padding);
	        }
	    }
	    
	    return $array;
	}
public static function explodeWithPadding($glue, $data, $length = null, $padding=null)
	{
	    $array = static::explode($glue, $data, $length);
	    
	    if (count($array) < $length)
	    {
	        foreach (range(1, $length - count($array)) as $i)
	        {
	            array_push($array, $padding);
	        }
	    }
	    
	    return $array;
	}
public static function explodeWithPadding ( $ glue , $ data , $ length = null , $ padding = null ) { $ array = static :: explode ( $ glue , $ data , $ length ) ; if ( count ( $ array ) < $ length ) { foreach ( range ( 1 , $ length - count ( $ array ) ) as $ i ) { array_push ( $ array , $ padding ) ; } } return $ array ; }
explode use preg_split and padding to array, make array is length.

@param  mixed  $glue  string|array
@param  mixed  $value string|array
@param  int    $length array length
@return array
explode use preg_split and padding to array make array is length .