3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $products = 'a:1:{i:0;a:3:{s:3:"pid";s:4:"1915";s:4:"data";a:2:{s:6:"module";s:10:"uc_product";s:10:"attributes";a:0:{}}s:3:"qty";i:1;}}' $products = unserialize($products); print_r($products);
Output for 5.4.0 - 5.4.29
Parse error: syntax error, unexpected '$products' (T_VARIABLE) in /in/XhSU8 on line 3
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_VARIABLE in /in/XhSU8 on line 3
Process exited with code 255.