Skip to content

Instantly share code, notes, and snippets.

@gmcinnes
Last active Dec 13, 2016
Embed
What would you like to do?
wtf php
<?php
$x = $this->redirected_hostname();
var_dump($x);
var_dump($uri);
$y = $uri . $x;
var_dump($y);
var_dump("wtf");
die();
#string(34) "dev-www-marsdd-com.pantheonsite.io"
#string(7) "http://"
#string(41) "http://studioy.dev.marsdd.com"
#string(3) "wtf"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment