3v4l.org

run code in 300+ PHP versions simultaneously
<?php $realRating = 33; var_dump(unserialize("a:1:{i:0;a:10:{s:2:\"id\";s:4:\"1120\";s:7:\"user_id\";s:3:\"408\";s:4:\"type\";s:8:\"playlist\";s:5:\"title\";s:9:\"test list\";s:8:\"priority\";s:1:\"0\";s:10:\"is_deleted\";s:1:\"0\";s:10:\"deleted_at\";N;s:10:\"created_at\";s:19:\"2014-07-10 13:11:15\";s:10:\"videoCount\";s:1:\"1\";s:6:\"length\";s:2:\"60\";}}"));
Output for 5.5.24 - 5.5.35, 5.6.8 - 5.6.28, 7.0.0 - 7.0.20, 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.4, 8.3.6
array(1) { [0]=> array(10) { ["id"]=> string(4) "1120" ["user_id"]=> string(3) "408" ["type"]=> string(8) "playlist" ["title"]=> string(9) "test list" ["priority"]=> string(1) "0" ["is_deleted"]=> string(1) "0" ["deleted_at"]=> NULL ["created_at"]=> string(19) "2014-07-10 13:11:15" ["videoCount"]=> string(1) "1" ["length"]=> string(2) "60" } }
Output for 8.3.5
Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 array(1) { [0]=> array(10) { ["id"]=> string(4) "1120" ["user_id"]=> string(3) "408" ["type"]=> string(8) "playlist" ["title"]=> string(9) "test list" ["priority"]=> string(1) "0" ["is_deleted"]=> string(1) "0" ["deleted_at"]=> NULL ["created_at"]=> string(19) "2014-07-10 13:11:15" ["videoCount"]=> string(1) "1" ["length"]=> string(2) "60" } }

preferences:
241.3 ms | 403 KiB | 226 Q