3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $week = "Monday,Tuesday,Wednesay,Thursday,Friday,Saturday,Sunday"; $preg = "/([^,]+),([^,]+)$/"; preg_match($preg, $week, $match); print_r($preg);
Output for 5.3.19 - 7.2.0
/([^,]+),([^,]+)$/