3v4l.org

run code in 300+ PHP versions simultaneously
<?php function sortLCBR($a, $b) { return ($a['credit_status']>$b['credit_status']) && strcmp($a['credit_status'], $b['credit_status']); } $text='s:10:"LCBRResult";a:3:{i:0;a:11:{s:14:"borrower_count";s:1:"1";s:6:"status";s:1:"B";s:11:"credit_type";s:2:"60";s:10:"valid_from";s:10:"2008-05-21";s:8:"valid_to";s:10:"2008-10-13";s:6:"amount";s:6:"200.00";s:8:"currency";s:3:"LVL";s:13:"credit_status";s:2:"40";s:15:"origination_way";s:0:"";s:14:"completion_way";s:0:"";s:15:"collateral_type";a:1:{s:14:"CollateralType";s:3:"110";}}i:1;a:11:{s:14:"borrower_count";s:1:"1";s:6:"status";s:1:"B";s:11:"credit_type";s:2:"70";s:10:"valid_from";s:10:"2012-12-08";s:8:"valid_to";s:10:"2013-06-19";s:6:"amount";s:6:"234.90";s:8:"currency";s:3:"LVL";s:13:"credit_status";s:2:"40";s:15:"origination_way";s:2:"10";s:14:"completion_way";s:2:"10";s:15:"collateral_type";a:1:{s:14:"CollateralType";s:3:"110";}}i:2;a:11:{s:14:"borrower_count";s:1:"1";s:6:"status";s:1:"G";s:11:"credit_type";s:2:"70";s:10:"valid_from";s:10:"2013-10-02";s:8:"valid_to";s:10:"2016-10-20";s:6:"amount";s:7:"2034.71";s:8:"currency";s:3:"EUR";s:13:"credit_status";s:2:"10";s:15:"origination_way";s:2:"10";s:14:"completion_way";s:0:"";s:15:"collateral_type";a:0:{}}}s:21:"lcbr_obligation_total";i:0;'; $arr = deserialize($text); print_r($arr);
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Call to undefined function deserialize() in /in/mAND3:10 Stack trace: #0 {main} thrown in /in/mAND3 on line 10
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
48.31 ms | 401 KiB | 8 Q