3v4l.org

run code in 200+ PHP versions simultaneously
<?php //original by OP, except 17 instead of 16 $oryg = 'a:1:{i:0;s:17:"some-binary-stuff";}'; var_dump(unserialize($oryg));
Output for 7.1.25 - 7.3.2
array(1) { [0]=> string(17) "some-binary-stuff" }