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 'datePublished' (T_STRING) in /in/KHDO8 on line 3
Process exited with code 255.
Output for 5.3.0 - 5.3.22
Parse error: syntax error, unexpected T_STRING in /in/KHDO8 on line 3
Process exited with code 255.