3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $date = '10/2014'; list($month, $year) = explode("/", $date); echo 'Month: '.$month."\n"; echo 'Year: '.$year; ?>
Output for 4.3.0 - 7.1.0
Month: 10 Year: 2014