<?php function a() { return 'http://localhost'; } $hostname = a(); if ( !$port = parse_url( $hostName, PHP_URL_PORT ) ) { var_dump( "oops" ); }
You have javascript disabled. You will not be able to edit any code.