plugin_dir_url and plugins_url display absolute filepath within url

When using plugin_dir_url( __FILE__ ) or plugins_url( __FILE__ ) in a plugin with PHP 5.2.17 the absolute filepath is included in the URL string. In both cases the functions include the absolute filepath before the plugin directory name and after ​http://host/wp-content/plugins.