I came across problem in PHP script that returns week number one higher then system does. In both situations timezone is set to "Europe/Prague".
I've done some tests. Both tests were performed on Debian 8.2 with PHP 5.6.14-0+deb8u1.
date +%W
result was: 43
echo date("W");
result was: 44