Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?PHP
- $foo = new \ILLI\System\Uri;
- $foo->host = 'pastebin.com/myworrrrrrrrrrrl';
- $foo->userInfo->username = 'me';
- $foo->userInfo->password = 'secret';
- $foo->absolutePath = '/foobar/';
- var_dump($foo->httpRequestUrL());
- ?>
- object(ILLI\System\Uri)#23 (13) {
- ["__UriComponents":"ILLI\System\Uri":private]=>
- object(ILLI\System\eUriComponents)#32 (8) {
- ["__tEnum_Flag":"ILLI\Core\Enum":private]=>
- object(ILLI\Core\Bitwise)#48 (1) {
- ["__bits":"ILLI\Core\Bitwise":private]=>
- int(61)
- }
- ["__tEnum_constantRequest":"ILLI\Core\Enum":private]=>
- string(16) "HTTP_REQUEST_URL"
- ["__tEnum_variableRequest":"ILLI\Core\Enum":private]=>
- string(14) "httpRequestUrl"
- ["__tEnum_methodRequest":"ILLI\Core\Enum":private]=>
- string(14) "httpRequestUrL"
- ["__tEnum_variablesHook":"ILLI\Core\Enum":private]=>
- array(5) {
- [1]=>
- string(6) "scheme"
- [4]=>
- string(4) "host"
- [8]=>
- string(4) "port"
- [16]=>
- string(9) "localPath"
- [32]=>
- string(5) "query"
- }
- ["__tEnum_constantsHook":"ILLI\Core\Enum":private]=>
- array(5) {
- [1]=>
- string(6) "SCHEME"
- [4]=>
- string(4) "HOST"
- [8]=>
- string(4) "PORT"
- [16]=>
- string(10) "LOCAL_PATH"
- [32]=>
- string(5) "QUERY"
- }
- ["__tEnum_integerHook":"ILLI\Core\Enum":private]=>
- array(5) {
- [0]=>
- int(1)
- [1]=>
- int(4)
- [2]=>
- int(8)
- [3]=>
- int(16)
- [4]=>
- int(32)
- }
- ["__tEnum_bitwiseHook":"ILLI\Core\Enum":private]=>
- array(6) {
- [0]=>
- string(1) "1"
- [1]=>
- string(1) "0"
- [2]=>
- string(1) "1"
- [3]=>
- string(1) "1"
- [4]=>
- string(1) "1"
- [5]=>
- string(1) "1"
- }
- }
- ["__tSplHashRegister_Address":"ILLI\Core\Object":private]=>
- string(32) "000000003626257a0000000011bfc5d8"
- ["__tAdapter_tracesEnabled":"ILLI\Core\Object":private]=>
- bool(false)
- ["__tAdapter_traces":"ILLI\Core\Object":private]=>
- array(0) {
- }
- ["__tAdapter_hook":protected]=>
- array(0) {
- }
- ["__tObserver_tracesEnabled":"ILLI\Core\Object":private]=>
- bool(false)
- ["__tObserver_traces":"ILLI\Core\Object":private]=>
- array(0) {
- }
- ["__tObserver_hook":protected]=>
- array(0) {
- }
- ["__tFilter_tracesEnabled":"ILLI\Core\Object":private]=>
- bool(false)
- ["__tFilter_traces":"ILLI\Core\Object":private]=>
- array(0) {
- }
- ["__tFilter_hook":protected]=>
- array(1) {
- ["ILLI\Core\Table::__set"]=>
- array(1) {
- [0]=>
- object(ILLI\Core\ConcreteCallableFilter)#70 (3) {
- ["__event":"ILLI\Core\ConcreteCallableFilter":private]=>
- int(61442)
- ["__Trigger":"ILLI\Core\ConcreteCallableFilter":private]=>
- object(ILLI\Core\Method)#71 (3) {
- ["__class":protected]=>
- string(15) "ILLI\Core\Table"
- ["__function":protected]=>
- string(5) "__set"
- ["__method":protected]=>
- string(22) "ILLI\Core\Table::__set"
- }
- ["__Callable":protected]=>
- object(ILLI\Core\InvokeClosure)#72 (1) {
- ["__Callable":protected]=>
- object(Closure)#69 (3) {
- ["static"]=>
- array(1) {
- ["self"]=>
- *RECURSION*
- }
- ["this"]=>
- *RECURSION*
- ["parameter"]=>
- array(1) {
- ["$data"]=>
- string(10) "<required>"
- }
- }
- }
- }
- }
- }
- ["__tVirtualMethod_hook":protected]=>
- array(0) {
- }
- ["__tStorage_Data":"ILLI\Core\Table":private]=>
- object(ILLI\Core\FacadeArrayList)#67 (1) {
- ["__Collection":protected]=>
- object(ILLI\Core\Collection)#68 (6) {
- ["__data":"ILLI\Core\Collection":private]=>
- array(21) {
- ["absolutePath"]=>
- string(8) "/foobar/"
- ["absoluteUri"]=>
- string(0) ""
- ["authority"]=>
- string(0) ""
- ["dnsSafeHost"]=>
- string(0) ""
- ["fragment"]=>
- string(0) ""
- ["host"]=>
- string(12) "pastebin.com"
- ["hostNameType"]=>
- string(0) ""
- ["isAbsolute"]=>
- bool(false)
- ["isDefaultPort"]=>
- bool(false)
- ["isFile"]=>
- bool(false)
- ["isLoopBack"]=>
- bool(false)
- ["isUnc"]=>
- bool(false)
- ["isUserEscaped"]=>
- bool(false)
- ["localPath"]=>
- string(0) ""
- ["originalString"]=>
- string(0) ""
- ["pathAndQuery"]=>
- string(0) ""
- ["port"]=>
- string(0) ""
- ["query"]=>
- string(0) ""
- ["scheme"]=>
- string(0) ""
- ["segments"]=>
- array(0) {
- }
- ["userInfo"]=>
- object(ILLI\System\UserInfo)#50 (12) {
- ["__tSplHashRegister_Address":"ILLI\Core\Object":private]=>
- string(32) "000000003626255f0000000011bfc5d8"
- ["__tAdapter_tracesEnabled":"ILLI\Core\Object":private]=>
- bool(false)
- ["__tAdapter_traces":"ILLI\Core\Object":private]=>
- array(0) {
- }
- ["__tAdapter_hook":protected]=>
- array(0) {
- }
- ["__tObserver_tracesEnabled":"ILLI\Core\Object":private]=>
- bool(false)
- ["__tObserver_traces":"ILLI\Core\Object":private]=>
- array(0) {
- }
- ["__tObserver_hook":protected]=>
- array(0) {
- }
- ["__tFilter_tracesEnabled":"ILLI\Core\Object":private]=>
- bool(false)
- ["__tFilter_traces":"ILLI\Core\Object":private]=>
- array(0) {
- }
- ["__tFilter_hook":protected]=>
- array(1) {
- ["ILLI\Core\Table::__set"]=>
- array(1) {
- [0]=>
- object(ILLI\Core\ConcreteCallableFilter)#61 (3) {
- ["__event":"ILLI\Core\ConcreteCallableFilter":private]=>
- int(61442)
- ["__Trigger":"ILLI\Core\ConcreteCallableFilter":private]=>
- object(ILLI\Core\Method)#63 (3) {
- ["__class":protected]=>
- string(15) "ILLI\Core\Table"
- ["__function":protected]=>
- string(5) "__set"
- ["__method":protected]=>
- string(22) "ILLI\Core\Table::__set"
- }
- ["__Callable":protected]=>
- object(ILLI\Core\InvokeClosure)#66 (1) {
- ["__Callable":protected]=>
- object(Closure)#58 (3) {
- ["static"]=>
- array(1) {
- ["self"]=>
- *RECURSION*
- }
- ["this"]=>
- *RECURSION*
- ["parameter"]=>
- array(1) {
- ["$data"]=>
- string(10) "<required>"
- }
- }
- }
- }
- }
- }
- ["__tVirtualMethod_hook":protected]=>
- array(0) {
- }
- ["__tStorage_Data":"ILLI\Core\Table":private]=>
- object(ILLI\Core\FacadeArrayList)#53 (1) {
- ["__Collection":protected]=>
- object(ILLI\Core\Collection)#56 (6) {
- ["__data":"ILLI\Core\Collection":private]=>
- array(2) {
- ["username"]=>
- string(2) "me"
- ["password"]=>
- string(6) "secret"
- }
- ["__offsets":"ILLI\Core\Collection":private]=>
- array(2) {
- [0]=>
- string(8) "username"
- [1]=>
- string(8) "password"
- }
- ["__indexes":"ILLI\Core\Collection":private]=>
- array(2) {
- ["username"]=>
- int(0)
- ["password"]=>
- int(1)
- }
- ["__iteratorIndex":"ILLI\Core\Collection":private]=>
- int(0)
- ["__lastOffsetUpdate":"ILLI\Core\Collection":private]=>
- string(8) "password"
- ["__lastOffsetInsert":"ILLI\Core\Collection":private]=>
- NULL
- }
- }
- }
- }
- ["__offsets":"ILLI\Core\Collection":private]=>
- array(21) {
- [0]=>
- string(12) "absolutePath"
- [1]=>
- string(11) "absoluteUri"
- [2]=>
- string(9) "authority"
- [3]=>
- string(11) "dnsSafeHost"
- [4]=>
- string(8) "fragment"
- [5]=>
- string(4) "host"
- [6]=>
- string(12) "hostNameType"
- [7]=>
- string(10) "isAbsolute"
- [8]=>
- string(13) "isDefaultPort"
- [9]=>
- string(6) "isFile"
- [10]=>
- string(10) "isLoopBack"
- [11]=>
- string(5) "isUnc"
- [12]=>
- string(13) "isUserEscaped"
- [13]=>
- string(9) "localPath"
- [14]=>
- string(14) "originalString"
- [15]=>
- string(12) "pathAndQuery"
- [16]=>
- string(4) "port"
- [17]=>
- string(5) "query"
- [18]=>
- string(6) "scheme"
- [19]=>
- string(8) "segments"
- [20]=>
- string(8) "userInfo"
- }
- ["__indexes":"ILLI\Core\Collection":private]=>
- array(21) {
- ["absolutePath"]=>
- int(0)
- ["absoluteUri"]=>
- int(1)
- ["authority"]=>
- int(2)
- ["dnsSafeHost"]=>
- int(3)
- ["fragment"]=>
- int(4)
- ["host"]=>
- int(5)
- ["hostNameType"]=>
- int(6)
- ["isAbsolute"]=>
- int(7)
- ["isDefaultPort"]=>
- int(8)
- ["isFile"]=>
- int(9)
- ["isLoopBack"]=>
- int(10)
- ["isUnc"]=>
- int(11)
- ["isUserEscaped"]=>
- int(12)
- ["localPath"]=>
- int(13)
- ["originalString"]=>
- int(14)
- ["pathAndQuery"]=>
- int(15)
- ["port"]=>
- int(16)
- ["query"]=>
- int(17)
- ["scheme"]=>
- int(18)
- ["segments"]=>
- int(19)
- ["userInfo"]=>
- int(20)
- }
- ["__iteratorIndex":"ILLI\Core\Collection":private]=>
- int(0)
- ["__lastOffsetUpdate":"ILLI\Core\Collection":private]=>
- string(12) "absolutePath"
- ["__lastOffsetInsert":"ILLI\Core\Collection":private]=>
- NULL
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement