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 $poducts;
Output for 5.4.0 - 5.4.29
Parse error: syntax error, unexpected '$products' (T_VARIABLE) in /in/FBMn0 on line 3
Process exited with code 255.
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.3.28
Parse error: syntax error, unexpected T_VARIABLE in /in/FBMn0 on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected T_VARIABLE in /in/FBMn0 on line 3
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/FBMn0 on line 3
Process exited with code 255.