3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $_sample_post = unserialize('a:40:{s:7:"orderID";s:9:"231789206";s:4:"name";s:9:"Ecom Help";s:7:"company";s:7:"Web.com";s:6:"email1";s:29:"ecom-mts@networksolutions.com";s:8:"address1";s:24:"12808 Gran Bay Parkway W";s:8:"address2";s:0:"";s:4:"city";s:12:"Jacksonville";s:5:"state";s:7:"Florida";s:3:"zip";s:5:"32258";s:7:"country";s:13:"United States";s:3:"fax";s:0:"";s:5:"phone";s:10:"8882523266";s:14:"secondaryphone";s:0:"";s:8:"cardtype";s:4:"Visa";s:8:"shipname";s:9:"Ecom Help";s:11:"shipCompany";s:7:"Web.com";s:12:"shipAddress1";s:24:"12808 Gran Bay Parkway W";s:12:"shipAddress2";s:0:"";s:8:"shipCity";s:12:"Jacksonville";s:9:"shipState";s:7:"Florida";s:7:"shipZip";s:5:"32258";s:11:"shipCountry";s:13:"United States";s:6:"status";s:8:"Accepted";s:4:"sku1";s:3:"001";s:8:"product1";s:15:"DatePicker Demo";s:9:"quantity1";s:1:"1";s:7:"option1";s:8:"Option 1";s:8:"option11";s:4:"asdf";s:8:"option21";s:5:"asdfa";s:11:"brand_logo1";s:1:"0";s:6:"price1";s:5:"15.00";s:4:"sku2";s:3:"002";s:8:"product2";s:8:"Donation";s:9:"quantity2";s:1:"1";s:11:"brand_logo2";s:1:"a";s:6:"price2";s:4:"5.00";s:5:"plist";s:17:"12500966,12501000";s:5:"Total";s:5:"20.00";s:10:"grandTotal";s:5:"20.00";s:7:"adtrack";s:1:"0";}'); var_dump($_sample_post);
based on 4O27X
Output for 4.3.0 - 5.6.21, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
array(40) { ["orderID"]=> string(9) "231789206" ["name"]=> string(9) "Ecom Help" ["company"]=> string(7) "Web.com" ["email1"]=> string(29) "ecom-mts@networksolutions.com" ["address1"]=> string(24) "12808 Gran Bay Parkway W" ["address2"]=> string(0) "" ["city"]=> string(12) "Jacksonville" ["state"]=> string(7) "Florida" ["zip"]=> string(5) "32258" ["country"]=> string(13) "United States" ["fax"]=> string(0) "" ["phone"]=> string(10) "8882523266" ["secondaryphone"]=> string(0) "" ["cardtype"]=> string(4) "Visa" ["shipname"]=> string(9) "Ecom Help" ["shipCompany"]=> string(7) "Web.com" ["shipAddress1"]=> string(24) "12808 Gran Bay Parkway W" ["shipAddress2"]=> string(0) "" ["shipCity"]=> string(12) "Jacksonville" ["shipState"]=> string(7) "Florida" ["shipZip"]=> string(5) "32258" ["shipCountry"]=> string(13) "United States" ["status"]=> string(8) "Accepted" ["sku1"]=> string(3) "001" ["product1"]=> string(15) "DatePicker Demo" ["quantity1"]=> string(1) "1" ["option1"]=> string(8) "Option 1" ["option11"]=> string(4) "asdf" ["option21"]=> string(5) "asdfa" ["brand_logo1"]=> string(1) "0" ["price1"]=> string(5) "15.00" ["sku2"]=> string(3) "002" ["product2"]=> string(8) "Donation" ["quantity2"]=> string(1) "1" ["brand_logo2"]=> string(1) "a" ["price2"]=> string(4) "5.00" ["plist"]=> string(17) "12500966,12501000" ["Total"]=> string(5) "20.00" ["grandTotal"]=> string(5) "20.00" ["adtrack"]=> string(1) "0" }