3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = 'a:2:{s:6:"params";a:10:{s:9:"RETURNURL";s:52:"http://app.mylittlebiz.fr/credit/buy/paypal_callback";s:9:"CANCELURL";s:50:"http://app.mylittlebiz.fr/credit/buy/paypal_cancel";s:23:"PAYMENTREQUEST_0_TAXAMT";d:661.87200000000007;s:24:"PAYMENTREQUEST_0_ITEMAMT";d:3309.3600000000001;s:20:"PAYMENTREQUEST_0_AMT";d:3971.232;s:29:"PAYMENTREQUEST_0_CURRENCYCODE";s:3:"EUR";s:23:"L_PAYMENTREQUEST_0_AMT0";d:3309.3600000000001;s:24:"L_PAYMENTREQUEST_0_NAME0";s:35:"Recharge du crédit sur MyLittleBiz";s:24:"L_PAYMENTREQUEST_0_DESC0";s:0:"";s:23:"L_PAYMENTREQUEST_0_QTY0";i:1;}s:6:"errors";a:17:{s:9:"TIMESTAMP";s:20:"2015-04-17T15:45:31Z";s:13:"CORRELATIONID";s:13:"76571987178f6";s:3:"ACK";s:7:"Failure";s:7:"VERSION";s:2:"74";s:5:"BUILD";s:8:"16280307";s:12:"L_ERRORCODE0";s:5:"10401";s:12:"L_ERRORCODE1";s:5:"10429";s:12:"L_ERRORCODE2";s:5:"10413";s:15:"L_SHORTMESSAGE0";s:94:"Transaction refused because of an invalid argument. See additional error messages for details.";s:15:"L_SHORTMESSAGE1";s:94:"Transaction refused because of an invalid argument. See additional error messages for details.";s:15:"L_SHORTMESSAGE2";s:94:"Transaction refused because of an invalid argument. See additional error messages for details.";s:14:"L_LONGMESSAGE0";s:23:"Order total is invalid.";s:14:"L_LONGMESSAGE1";s:21:"Tax total is invalid.";s:14:"L_LONGMESSAGE2";s:63:"The totals of the cart item amounts do not match order amounts.";s:15:"L_SEVERITYCODE0";s:5:"Error";s:15:"L_SEVERITYCODE1";s:5:"Error";s:15:"L_SEVERITYCODE2";s:5:"Error";}}'; var_dump(unserialize($str));
based on OK4Re
Output for 4.3.0 - 7.2.0
array(2) { ["params"]=> array(10) { ["RETURNURL"]=> string(52) "http://app.mylittlebiz.fr/credit/buy/paypal_callback" ["CANCELURL"]=> string(50) "http://app.mylittlebiz.fr/credit/buy/paypal_cancel" ["PAYMENTREQUEST_0_TAXAMT"]=> float(661.872) ["PAYMENTREQUEST_0_ITEMAMT"]=> float(3309.36) ["PAYMENTREQUEST_0_AMT"]=> float(3971.232) ["PAYMENTREQUEST_0_CURRENCYCODE"]=> string(3) "EUR" ["L_PAYMENTREQUEST_0_AMT0"]=> float(3309.36) ["L_PAYMENTREQUEST_0_NAME0"]=> string(35) "Recharge du crédit sur MyLittleBiz" ["L_PAYMENTREQUEST_0_DESC0"]=> string(0) "" ["L_PAYMENTREQUEST_0_QTY0"]=> int(1) } ["errors"]=> array(17) { ["TIMESTAMP"]=> string(20) "2015-04-17T15:45:31Z" ["CORRELATIONID"]=> string(13) "76571987178f6" ["ACK"]=> string(7) "Failure" ["VERSION"]=> string(2) "74" ["BUILD"]=> string(8) "16280307" ["L_ERRORCODE0"]=> string(5) "10401" ["L_ERRORCODE1"]=> string(5) "10429" ["L_ERRORCODE2"]=> string(5) "10413" ["L_SHORTMESSAGE0"]=> string(94) "Transaction refused because of an invalid argument. See additional error messages for details." ["L_SHORTMESSAGE1"]=> string(94) "Transaction refused because of an invalid argument. See additional error messages for details." ["L_SHORTMESSAGE2"]=> string(94) "Transaction refused because of an invalid argument. See additional error messages for details." ["L_LONGMESSAGE0"]=> string(23) "Order total is invalid." ["L_LONGMESSAGE1"]=> string(21) "Tax total is invalid." ["L_LONGMESSAGE2"]=> string(63) "The totals of the cart item amounts do not match order amounts." ["L_SEVERITYCODE0"]=> string(5) "Error" ["L_SEVERITYCODE1"]=> string(5) "Error" ["L_SEVERITYCODE2"]=> string(5) "Error" } }