3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $tags = '<meta itemprop="datePublished" content="Mon Mar 04 08:52:45 PST 2013"/>' $tags = array_map('trim', explode(',', $tags['content'])); foreach($tags as $tag) { echo $tag; }
Output for 5.4.0 - 5.4.12
Parse error: syntax error, unexpected '$tags' (T_VARIABLE) in /in/N7ShB on line 4
Process exited with code 255.
Output for 5.3.0 - 5.3.22
Parse error: syntax error, unexpected T_VARIABLE in /in/N7ShB on line 4
Process exited with code 255.