<?php
var_dump(
unserialize('C:11:"ArrayObject":21:{x:i:0;a:0:{};m:a:0:{}}')
);
var_dump(
unserialize('a:19:{s:4:"mode";s:9:"connected";s:9:"binAttach";N;s:10:"fileAttach";N;s:5:"login";N;s:8:"password";N;s:4:"date";s:19:"2015-03-26 01:50:07";s:4:"from";N;s:6:"knetid";s:8:"50333754";s:7:"fleetId";N;s:2:"to";i:255;s:6:"custId";N;s:4:"flow";i:6;s:5:"tname";s:9:"245545475";s:6:"status";N;s:5:"value";s:8:"position";s:4:"info";N;s:2:"id";N;s:4:"body";s:11:"<position/>";s:6:"delaym";N;}')
);
- Output for 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.40, 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.7
- object(ArrayObject)#1 (1) {
["storage":"ArrayObject":private]=>
array(0) {
}
}
array(19) {
["mode"]=>
string(9) "connected"
["binAttach"]=>
NULL
["fileAttach"]=>
NULL
["login"]=>
NULL
["password"]=>
NULL
["date"]=>
string(19) "2015-03-26 01:50:07"
["from"]=>
NULL
["knetid"]=>
string(8) "50333754"
["fleetId"]=>
NULL
["to"]=>
int(255)
["custId"]=>
NULL
["flow"]=>
int(6)
["tname"]=>
string(9) "245545475"
["status"]=>
NULL
["value"]=>
string(8) "position"
["info"]=>
NULL
["id"]=>
NULL
["body"]=>
string(11) "<position/>"
["delaym"]=>
NULL
}
- Output for 5.1.0 - 5.1.6, 5.2.0 - 5.2.17
- Warning: Class ArrayObject has no unserializer in /in/hX2YZ on line 4
Notice: unserialize(): Error at offset 17 of 45 bytes in /in/hX2YZ on line 4
bool(false)
array(19) {
["mode"]=>
string(9) "connected"
["binAttach"]=>
NULL
["fileAttach"]=>
NULL
["login"]=>
NULL
["password"]=>
NULL
["date"]=>
string(19) "2015-03-26 01:50:07"
["from"]=>
NULL
["knetid"]=>
string(8) "50333754"
["fleetId"]=>
NULL
["to"]=>
int(255)
["custId"]=>
NULL
["flow"]=>
int(6)
["tname"]=>
string(9) "245545475"
["status"]=>
NULL
["value"]=>
string(8) "position"
["info"]=>
NULL
["id"]=>
NULL
["body"]=>
string(11) "<position/>"
["delaym"]=>
NULL
}
- Output for 4.3.2 - 4.3.11, 4.4.0 - 4.4.9, 5.0.0 - 5.0.5
- Notice: unserialize(): Error at offset 0 of 45 bytes in /in/hX2YZ on line 4
bool(false)
array(19) {
["mode"]=>
string(9) "connected"
["binAttach"]=>
NULL
["fileAttach"]=>
NULL
["login"]=>
NULL
["password"]=>
NULL
["date"]=>
string(19) "2015-03-26 01:50:07"
["from"]=>
NULL
["knetid"]=>
string(8) "50333754"
["fleetId"]=>
NULL
["to"]=>
int(255)
["custId"]=>
NULL
["flow"]=>
int(6)
["tname"]=>
string(9) "245545475"
["status"]=>
NULL
["value"]=>
string(8) "position"
["info"]=>
NULL
["id"]=>
NULL
["body"]=>
string(11) "<position/>"
["delaym"]=>
NULL
}
- Output for 4.3.0 - 4.3.1
- Notice: unserialize() [http://www.php.net/function.unserialize]: Error at offset 0 of 45 bytes in /in/hX2YZ on line 4
bool(false)
array(19) {
["mode"]=>
string(9) "connected"
["binAttach"]=>
NULL
["fileAttach"]=>
NULL
["login"]=>
NULL
["password"]=>
NULL
["date"]=>
string(19) "2015-03-26 01:50:07"
["from"]=>
NULL
["knetid"]=>
string(8) "50333754"
["fleetId"]=>
NULL
["to"]=>
int(255)
["custId"]=>
NULL
["flow"]=>
int(6)
["tname"]=>
string(9) "245545475"
["status"]=>
NULL
["value"]=>
string(8) "position"
["info"]=>
NULL
["id"]=>
NULL
["body"]=>
string(11) "<position/>"
["delaym"]=>
NULL
}
preferences:
311.13 ms | 403 KiB | 460 Q