3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $Year_numbers= substr($Start_Week, 0, 4); $Week_numbers= substr($Start_Week, 4, 6); $Start_Week_berekend = date("YW", strtotime("{$Year_numbers}-W{$Week_numbers}+$Optel_Week week"));
Output for 5.0.4 - 5.6.28, hhvm-3.10.0, 7.0.0 - 7.1.0
Notice: Undefined variable: Start_Week in /in/PMs54 on line 3 Notice: Undefined variable: Start_Week in /in/PMs54 on line 4 Notice: Undefined variable: Optel_Week in /in/PMs54 on line 5
Output for hhvm-3.12.0
Notice: Undefined variable: Start_Week in /in/PMs54 on line 3 Warning: substr() expects parameter 1 to be string, null given in /in/PMs54 on line 3 Notice: Undefined variable: Start_Week in /in/PMs54 on line 4 Warning: substr() expects parameter 1 to be string, null given in /in/PMs54 on line 4 Notice: Undefined variable: Optel_Week in /in/PMs54 on line 5
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: Start_Week in /in/PMs54 on line 3 Notice: Undefined variable: Start_Week in /in/PMs54 on line 4 Notice: Undefined variable: Optel_Week in /in/PMs54 on line 5