<?php
$data = preg_replace('!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:"75.147.222.246";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));
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /in/n9jjQ on line 2
Deprecated: unserialize(): Passing null to parameter #1 ($data) of type string is deprecated in /in/n9jjQ on line 3
bool(false)
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
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /in/n9jjQ on line 2
Deprecated: unserialize(): Passing null to parameter #1 ($data) of type string is deprecated in /in/n9jjQ on line 3
bool(false)
Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /in/n9jjQ on line 2
bool(false)
Output for 5.6.0 - 5.6.25
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /in/n9jjQ on line 2
array(15) {
["id"]=>
string(3) "338"
["catalogid"]=>
string(2) "13"
["user_name"]=>
string(13) "Jessica Surez"
["user_email"]=>
string(26) "3694.newemail@bellefit.com"
["user_city"]=>
string(11) "Roanoke, VA"
["short_review"]=>
string(17) "AMAZING, LOVE IT!"
["long_review"]=>
string(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!! "
["rating"]=>
string(1) "5"
["review_date"]=>
string(9) "4/15/2013"
["approved"]=>
string(1) "1"
["userid"]=>
string(4) "3694"
["userip"]=>
string(14) "75.147.222.246"
["rev_verified"]=>
string(1) "0"
["rev_helpful"]=>
string(1) "0"
["rev_votes"]=>
string(1) "0"
}