3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php // Happy New Year $d=getdate(); if($d[year]=='2016'){ echo "Today Is-". $d[mday] ."-".$d[mon]."-".$d[year]; echo "<br>So wishing you a very happy new year "; } else { echo " Bhag Na Bhutni Ke squint emoticon Bada aaya "; } ?>
Output for 7.2.0
Warning: Use of undefined constant year - assumed 'year' (this will throw an Error in a future version of PHP) in /in/tqqJu on line 4 Warning: Use of undefined constant mday - assumed 'mday' (this will throw an Error in a future version of PHP) in /in/tqqJu on line 5 Warning: Use of undefined constant mon - assumed 'mon' (this will throw an Error in a future version of PHP) in /in/tqqJu on line 5 Warning: Use of undefined constant year - assumed 'year' (this will throw an Error in a future version of PHP) in /in/tqqJu on line 5 Today Is-1-1-2016<br>So wishing you a very happy new year
Output for 5.3.21 - 5.4.45, 5.6.28, 7.0.20 - 7.1.10
Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 4 Notice: Use of undefined constant mday - assumed 'mday' in /in/tqqJu on line 5 Notice: Use of undefined constant mon - assumed 'mon' in /in/tqqJu on line 5 Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 5 Today Is-1-1-2016<br>So wishing you a very happy new year
Output for 7.0.6
Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 4 Notice: Use of undefined constant mday - assumed 'mday' in /in/tqqJu on line 5 Notice: Use of undefined constant mon - assumed 'mon' in /in/tqqJu on line 5 Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 5 Today Is-21-5-2016<br>So wishing you a very happy new year
Output for 7.0.5
Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 4 Notice: Use of undefined constant mday - assumed 'mday' in /in/tqqJu on line 5 Notice: Use of undefined constant mon - assumed 'mon' in /in/tqqJu on line 5 Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 5 Today Is-3-4-2016<br>So wishing you a very happy new year
Output for 7.0.4
Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 4 Notice: Use of undefined constant mday - assumed 'mday' in /in/tqqJu on line 5 Notice: Use of undefined constant mon - assumed 'mon' in /in/tqqJu on line 5 Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 5 Today Is-10-3-2016<br>So wishing you a very happy new year
Output for 7.0.3
Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 4 Notice: Use of undefined constant mday - assumed 'mday' in /in/tqqJu on line 5 Notice: Use of undefined constant mon - assumed 'mon' in /in/tqqJu on line 5 Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 5 Today Is-18-3-2016<br>So wishing you a very happy new year
Output for 7.0.2
Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 4 Notice: Use of undefined constant mday - assumed 'mday' in /in/tqqJu on line 5 Notice: Use of undefined constant mon - assumed 'mon' in /in/tqqJu on line 5 Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 5 Today Is-23-3-2016<br>So wishing you a very happy new year
Output for 7.0.1
Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 4 Notice: Use of undefined constant mday - assumed 'mday' in /in/tqqJu on line 5 Notice: Use of undefined constant mon - assumed 'mon' in /in/tqqJu on line 5 Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 5 Today Is-24-3-2016<br>So wishing you a very happy new year
Output for 7.0.0
Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 4 Notice: Use of undefined constant mday - assumed 'mday' in /in/tqqJu on line 5 Notice: Use of undefined constant mon - assumed 'mon' in /in/tqqJu on line 5 Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 5 Today Is-27-3-2016<br>So wishing you a very happy new year
Output for 5.6.21
Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 4 Notice: Use of undefined constant mday - assumed 'mday' in /in/tqqJu on line 5 Notice: Use of undefined constant mon - assumed 'mon' in /in/tqqJu on line 5 Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 5 Today Is-2-5-2016<br>So wishing you a very happy new year
Output for 5.6.20
Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 4 Notice: Use of undefined constant mday - assumed 'mday' in /in/tqqJu on line 5 Notice: Use of undefined constant mon - assumed 'mon' in /in/tqqJu on line 5 Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 5 Today Is-10-4-2016<br>So wishing you a very happy new year
Output for 5.6.19
Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 4 Notice: Use of undefined constant mday - assumed 'mday' in /in/tqqJu on line 5 Notice: Use of undefined constant mon - assumed 'mon' in /in/tqqJu on line 5 Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 5 Today Is-8-3-2016<br>So wishing you a very happy new year
Output for 5.6.18
Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 4 Notice: Use of undefined constant mday - assumed 'mday' in /in/tqqJu on line 5 Notice: Use of undefined constant mon - assumed 'mon' in /in/tqqJu on line 5 Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 5 Today Is-15-3-2016<br>So wishing you a very happy new year
Output for 5.6.17
Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 4 Notice: Use of undefined constant mday - assumed 'mday' in /in/tqqJu on line 5 Notice: Use of undefined constant mon - assumed 'mon' in /in/tqqJu on line 5 Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 5 Today Is-20-3-2016<br>So wishing you a very happy new year
Output for 5.6.16
Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 4 Notice: Use of undefined constant mday - assumed 'mday' in /in/tqqJu on line 5 Notice: Use of undefined constant mon - assumed 'mon' in /in/tqqJu on line 5 Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 5 Today Is-28-3-2016<br>So wishing you a very happy new year
Output for 5.6.15
Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 4 Notice: Use of undefined constant mday - assumed 'mday' in /in/tqqJu on line 5 Notice: Use of undefined constant mon - assumed 'mon' in /in/tqqJu on line 5 Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 5 Today Is-29-3-2016<br>So wishing you a very happy new year
Output for 5.6.14
Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 4 Notice: Use of undefined constant mday - assumed 'mday' in /in/tqqJu on line 5 Notice: Use of undefined constant mon - assumed 'mon' in /in/tqqJu on line 5 Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 5 Today Is-14-4-2016<br>So wishing you a very happy new year
Output for 5.6.13
Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 4 Notice: Use of undefined constant mday - assumed 'mday' in /in/tqqJu on line 5 Notice: Use of undefined constant mon - assumed 'mon' in /in/tqqJu on line 5 Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 5 Today Is-15-4-2016<br>So wishing you a very happy new year
Output for 5.6.12
Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 4 Notice: Use of undefined constant mday - assumed 'mday' in /in/tqqJu on line 5 Notice: Use of undefined constant mon - assumed 'mon' in /in/tqqJu on line 5 Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 5 Today Is-20-4-2016<br>So wishing you a very happy new year
Output for 5.6.11
Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 4 Notice: Use of undefined constant mday - assumed 'mday' in /in/tqqJu on line 5 Notice: Use of undefined constant mon - assumed 'mon' in /in/tqqJu on line 5 Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 5 Today Is-24-4-2016<br>So wishing you a very happy new year
Output for 5.6.10
Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 4 Notice: Use of undefined constant mday - assumed 'mday' in /in/tqqJu on line 5 Notice: Use of undefined constant mon - assumed 'mon' in /in/tqqJu on line 5 Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 5 Today Is-25-4-2016<br>So wishing you a very happy new year
Output for 5.6.9
Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 4 Notice: Use of undefined constant mday - assumed 'mday' in /in/tqqJu on line 5 Notice: Use of undefined constant mon - assumed 'mon' in /in/tqqJu on line 5 Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 5 Today Is-27-4-2016<br>So wishing you a very happy new year
Output for 5.6.8
Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 4 Notice: Use of undefined constant mday - assumed 'mday' in /in/tqqJu on line 5 Notice: Use of undefined constant mon - assumed 'mon' in /in/tqqJu on line 5 Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 5 Today Is-30-4-2016<br>So wishing you a very happy new year
Output for 5.5.35
Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 4 Notice: Use of undefined constant mday - assumed 'mday' in /in/tqqJu on line 5 Notice: Use of undefined constant mon - assumed 'mon' in /in/tqqJu on line 5 Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 5 Today Is-23-5-2016<br>So wishing you a very happy new year
Output for 5.5.34
Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 4 Notice: Use of undefined constant mday - assumed 'mday' in /in/tqqJu on line 5 Notice: Use of undefined constant mon - assumed 'mon' in /in/tqqJu on line 5 Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 5 Today Is-11-4-2016<br>So wishing you a very happy new year
Output for 5.5.33
Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 4 Notice: Use of undefined constant mday - assumed 'mday' in /in/tqqJu on line 5 Notice: Use of undefined constant mon - assumed 'mon' in /in/tqqJu on line 5 Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 5 Today Is-9-3-2016<br>So wishing you a very happy new year
Output for 5.5.32
Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 4 Notice: Use of undefined constant mday - assumed 'mday' in /in/tqqJu on line 5 Notice: Use of undefined constant mon - assumed 'mon' in /in/tqqJu on line 5 Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 5 Today Is-17-3-2016<br>So wishing you a very happy new year
Output for 5.5.31
Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 4 Notice: Use of undefined constant mday - assumed 'mday' in /in/tqqJu on line 5 Notice: Use of undefined constant mon - assumed 'mon' in /in/tqqJu on line 5 Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 5 Today Is-21-3-2016<br>So wishing you a very happy new year
Output for 5.5.30
Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 4 Notice: Use of undefined constant mday - assumed 'mday' in /in/tqqJu on line 5 Notice: Use of undefined constant mon - assumed 'mon' in /in/tqqJu on line 5 Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 5 Today Is-1-4-2016<br>So wishing you a very happy new year
Output for 5.5.29
Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 4 Notice: Use of undefined constant mday - assumed 'mday' in /in/tqqJu on line 5 Notice: Use of undefined constant mon - assumed 'mon' in /in/tqqJu on line 5 Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 5 Today Is-17-4-2016<br>So wishing you a very happy new year
Output for 5.5.28
Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 4 Notice: Use of undefined constant mday - assumed 'mday' in /in/tqqJu on line 5 Notice: Use of undefined constant mon - assumed 'mon' in /in/tqqJu on line 5 Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 5 Today Is-21-4-2016<br>So wishing you a very happy new year
Output for 5.5.27
Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 4 Notice: Use of undefined constant mday - assumed 'mday' in /in/tqqJu on line 5 Notice: Use of undefined constant mon - assumed 'mon' in /in/tqqJu on line 5 Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 5 Today Is-22-4-2016<br>So wishing you a very happy new year
Output for 5.5.26
Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 4 Notice: Use of undefined constant mday - assumed 'mday' in /in/tqqJu on line 5 Notice: Use of undefined constant mon - assumed 'mon' in /in/tqqJu on line 5 Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 5 Today Is-26-4-2016<br>So wishing you a very happy new year
Output for 5.5.25
Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 4 Notice: Use of undefined constant mday - assumed 'mday' in /in/tqqJu on line 5 Notice: Use of undefined constant mon - assumed 'mon' in /in/tqqJu on line 5 Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 5 Today Is-29-4-2016<br>So wishing you a very happy new year
Output for 5.5.24
Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 4 Notice: Use of undefined constant mday - assumed 'mday' in /in/tqqJu on line 5 Notice: Use of undefined constant mon - assumed 'mon' in /in/tqqJu on line 5 Notice: Use of undefined constant year - assumed 'year' in /in/tqqJu on line 5 Today Is-24-5-2016<br>So wishing you a very happy new year