3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = ' a:13:{s:7:"agentId";i:386;s:13:"reservationId";i:316016;s:9:"timestamp";s:19:"2015-04-29 02:44:12";s:9:"longitude";d:1.3481166666667363518428146562655456364154815673828125;s:8:"latitude";d:43.62810000000012422560757840983569622039794921875;s:12:"positionTime";s:19:"2015-04-29 02:44:08";s:20:"totalDistanceVehicle";i:7287;s:20:"totalDistanceBooking";i:0;s:17:"totalDistanceType";i:1;s:16:"fuelLevelPercent";d:0;s:15:"distanceToEmpty";i:0;s:15:"refuelingStatus";i:0;s:9:"messageId";s:9:"254765359";} '; var_dump(unserialize($string));
Output for 8.3.0 - 8.3.6
Warning: unserialize(): Error at offset 0 of 500 bytes in /in/McLUk on line 7 bool(false)
Output for 4.3.2 - 4.3.11, 4.4.0 - 4.4.9, 5.0.0 - 5.0.5, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.24 - 5.5.35, 5.6.7 - 5.6.21, 7.0.0 - 7.0.20, 7.1.0 - 7.1.25, 7.2.0 - 7.2.33, 7.3.0 - 7.3.31, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18
Notice: unserialize(): Error at offset 0 of 500 bytes in /in/McLUk on line 7 bool(false)
Output for 7.3.32 - 7.3.33
bool(false)
Output for 4.3.0 - 4.3.1
Notice: unserialize() [http://www.php.net/function.unserialize]: Error at offset 0 of 500 bytes in /in/McLUk on line 7 bool(false)

preferences:
231.91 ms | 401 KiB | 327 Q