run code in 200+ php & hhvm versions
Bugs & Features
<?php $data = preg_replace_callback('!s:(\d+):"(.*?)";!e', "'s:'.strlen('$2').':\"$2\";'", 'a:15:{s:2:"id";s:3:"338";s:9:"catalogid";s:2:"13";s:9:"user_name";s:15:"Jessica Surez";s:10:"user_email";s:26:"3694.newemail@bellefit.com";s:9:"user_city";s:11:"Roanoke, VA";s:12:"short_review";s:17:"AMAZING, LOVE IT!";s:11:"long_review";s:947:"I am not a review person, but this one deserves a chance.This gridle is the best ever and ever!!!!! I was so happy when I had my LO(the first one) but at the same time sad because my body was so different (you know what I mean):( But here comes the good part, when I was 37 weeks, I began looking for a postpartum gridle and I bought this one after the good reviews I read online. So good I did it!! The very next day after delivery (I had a natural unmedicated home birth) I put this on and I feLT AMAZING! the comression it made on my abs was so confortable that I had it on for 6 hours in a row! next day I had it for almost 12 hours. Since then I have been using it every day! the results are amazing!I was not sure aout the size but I followed the online directions on the website and voila!!! Size M fits perfect.Now I am on my third month postpartum, so happy with my purchase (my husband is also very happy ;)A must for postpartum women!! ";s:6:"rating";s:1:"5";s:11:"review_date";s:9:"4/15/2013";s:8:"approved";s:1:"1";s:6:"userid";s:4:"3694";s:6:"userip";s:14:"";s:12:"rev_verified";s:1:"0";s:11:"rev_helpful";s:1:"0";s:9:"rev_votes";s:1:"0";}'); var_dump(unserialize($data));
based on n9jjQ
Output for 5.6.0 - 7.2.8
Warning: preg_replace_callback(): Requires argument 2, ''s:'.strlen('$2').':"$2";'', to be a valid callback in /in/svqhs on line 2 Notice: unserialize(): Error at offset 87 of 1412 bytes in /in/svqhs on line 3 bool(false)