<?php for($day = 1; $day <= 7 ; ++$day ) { echo $day, ' - ', jddayofweek($day - 1, 1), PHP_EOL;}
Standard input is empty
1 - Monday 2 - Tuesday 3 - Wednesday 4 - Thursday 5 - Friday 6 - Saturday 7 - Sunday
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!