3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $mydata = 'a:3:{s:5:"title";s:19:"پست پیشتاز";s:10:"tax_status";s:4:"none";s:4:"cost";s:4:"8000";};}'; $mydata = unserialize($mydata); echo $mydata['merchantcode'];
based on 0Oj3f
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.2.0
Notice: Undefined index: merchantcode in /in/daZd5 on line 5