<?php $tests = array( "http://www.digitaling.com/projects/13423.html", "http://baidu.com", "http://www.yeelight.com/zh_CN/product/yeelight-sunflower" ); foreach($tests as $test) { echo parse_url($test, PHP_URL_HOST), "\r\n"; }
You have javascript disabled. You will not be able to edit any code.