3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $relatedproduct .=' Belkin Cat6 Snagless UTP Patch Cable (Black) 0.5m </a>' $relatedproduct .=' <span title="B-Tech BT604 - AtlasTM Sound Isolating Loudspeaker Floor Stands 40cm (15.8&quot;) - Finished in Black">B-Tech BT604 - AtlasTM Sound Isolating Loudspeaker Floor Stands 40cm (15.8") - Finished &#133;</span> </a>' $relatedproduct .=' <span title="jntworld 4m length table edge Guard baby toddler protector +4 corner (black) extra thick (13 mm) soft Non-toxic and environmentally friendly">jntworld 4m length table edge Guard baby toddler protector +4 corner (black) extra thick (13 mm) soft &#133;</span> </a>' preg_match_all('/\s*(.*) <\/a>/', $relatedproduct, $relatedtit); var_dump($relatedtit);
Output for 5.4.0 - 5.4.29
Parse error: syntax error, unexpected '$relatedproduct' (T_VARIABLE) in /in/F4RBB on line 5
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_VARIABLE in /in/F4RBB on line 5
Process exited with code 255.