3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = 'a:13:{s:7:"agentId";i:351;s:13:"reservationId";i:316015;s:9:"timestamp";s:19:"2015-04-29 02:39:03";s:9:"longitude";d:3.0908166666666847532951578614301979541778564453125;s:8:"latitude";d:45.784600000000153841028804890811443328857421875;s:12:"positionTime";s:19:"2015-04-29 02:38:56";s:20:"totalDistanceVehicle";i:14509;s:20:"totalDistanceBooking";i:4;s:17:"totalDistanceType";i:2;s:16:"fuelLevelPercent";d:90;s:15:"distanceToEmpty";i:101;s:15:"refuelingStatus";i:1;s:9:"messageId";s:9:"254764309";}'; var dump(unserialize($string));
Output for 5.4.0 - 5.4.40, 5.5.24, 5.6.8
Parse error: syntax error, unexpected 'var' (T_VAR) in /in/gghJJ on line 6
Process exited with code 255.
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29
Parse error: syntax error, unexpected T_VAR in /in/gghJJ on line 6
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.3.11, 4.4.0 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected T_VAR in /in/gghJJ on line 6
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/gghJJ on line 6
Process exited with code 255.

preferences:
218.23 ms | 1395 KiB | 132 Q