<?php function a() { return 'http://localhost:80'; } $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.