3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $menudate; if(strtotime("now")>$menudate){ $menudate=strtotime("+2 days"); } echo $menudate;
based on VTcus
Output for 5.6.28, 7.0.20 - 7.2.0
Notice: Undefined variable: menudate in /in/DWF0d on line 3 1441147205
Output for 7.0.6
Notice: Undefined variable: menudate in /in/DWF0d on line 3 1462427572
Output for 7.0.5
Notice: Undefined variable: menudate in /in/DWF0d on line 3 1459795844
Output for 7.0.4
Notice: Undefined variable: menudate in /in/DWF0d on line 3 1457762720
Output for 7.0.3
Notice: Undefined variable: menudate in /in/DWF0d on line 3 1458455793
Output for 7.0.2
Notice: Undefined variable: menudate in /in/DWF0d on line 3 1458822118
Output for 7.0.1
Notice: Undefined variable: menudate in /in/DWF0d on line 3 1458926693
Output for 7.0.0
Notice: Undefined variable: menudate in /in/DWF0d on line 3 1459188359
Output for 5.6.21
Notice: Undefined variable: menudate in /in/DWF0d on line 3 1462324303
Output for 5.6.20
Notice: Undefined variable: menudate in /in/DWF0d on line 3 1460396358
Output for 5.6.19
Notice: Undefined variable: menudate in /in/DWF0d on line 3 1457532616
Output for 5.6.18
Notice: Undefined variable: menudate in /in/DWF0d on line 3 1458165214
Output for 5.6.17
Notice: Undefined variable: menudate in /in/DWF0d on line 3 1458557719
Output for 5.6.16
Notice: Undefined variable: menudate in /in/DWF0d on line 3 1459281059
Output for 5.6.15
Notice: Undefined variable: menudate in /in/DWF0d on line 3 1459370678
Output for 5.6.14
Notice: Undefined variable: menudate in /in/DWF0d on line 3 1459725545
Output for 5.6.13
Notice: Undefined variable: menudate in /in/DWF0d on line 3 1460862860
Output for 5.6.12
Notice: Undefined variable: menudate in /in/DWF0d on line 3 1461257396
Output for 5.6.11
Notice: Undefined variable: menudate in /in/DWF0d on line 3 1461541724
Output for 5.6.10
Notice: Undefined variable: menudate in /in/DWF0d on line 3 1461721229
Output for 5.6.9
Notice: Undefined variable: menudate in /in/DWF0d on line 3 1461911860
Output for 5.6.8
Notice: Undefined variable: menudate in /in/DWF0d on line 3 1462113375
Output for 5.6.7
Notice: Undefined variable: menudate in /in/DWF0d on line 3 1464337461
Output for 5.5.35
Notice: Undefined variable: menudate in /in/DWF0d on line 3 1464065584
Output for 5.5.34
Notice: Undefined variable: menudate in /in/DWF0d on line 3 1460491610
Output for 5.5.33
Notice: Undefined variable: menudate in /in/DWF0d on line 3 1457629151
Output for 5.5.32
Notice: Undefined variable: menudate in /in/DWF0d on line 3 1458344726
Output for 5.5.31
Notice: Undefined variable: menudate in /in/DWF0d on line 3 1458654169
Output for 5.5.30
Notice: Undefined variable: menudate in /in/DWF0d on line 3 1459637550
Output for 5.5.29
Notice: Undefined variable: menudate in /in/DWF0d on line 3 1460999959
Output for 5.5.28
Notice: Undefined variable: menudate in /in/DWF0d on line 3 1461354920
Output for 5.5.27
Notice: Undefined variable: menudate in /in/DWF0d on line 3 1461450036
Output for 5.5.26
Notice: Undefined variable: menudate in /in/DWF0d on line 3 1461816365
Output for 5.5.25
Notice: Undefined variable: menudate in /in/DWF0d on line 3 1462010950
Output for 5.5.24
Notice: Undefined variable: menudate in /in/DWF0d on line 3 1464195870
Output for 5.4.45
Notice: Undefined variable: menudate in /in/DWF0d on line 3 1441723064
Output for 5.4.44
Notice: Undefined variable: menudate in /in/DWF0d on line 3 1441147221
Output for 5.4.41 - 5.4.43
Notice: Undefined variable: menudate in /in/DWF0d on line 3 1441147222
Output for 5.4.37 - 5.4.40
Notice: Undefined variable: menudate in /in/DWF0d on line 3 1441147223
Output for 5.4.32 - 5.4.36
Notice: Undefined variable: menudate in /in/DWF0d on line 3 1441147224
Output for 5.4.29 - 5.4.31
Notice: Undefined variable: menudate in /in/DWF0d on line 3 1441147225
Output for 5.4.25 - 5.4.28
Notice: Undefined variable: menudate in /in/DWF0d on line 3 1441147226
Output for 5.4.20 - 5.4.24
Notice: Undefined variable: menudate in /in/DWF0d on line 3 1441147227
Output for 5.4.12 - 5.4.19
Notice: Undefined variable: menudate in /in/DWF0d on line 3 1441147228
Output for 5.4.5 - 5.4.11
Notice: Undefined variable: menudate in /in/DWF0d on line 3 1441147229
Output for 5.3.27 - 5.4.4
Notice: Undefined variable: menudate in /in/DWF0d on line 3 1441147230
Output for 5.3.22 - 5.3.26
Notice: Undefined variable: menudate in /in/DWF0d on line 3 1441147231
Output for 5.3.17 - 5.3.21
Notice: Undefined variable: menudate in /in/DWF0d on line 3 1441147232
Output for 5.3.11 - 5.3.16
Notice: Undefined variable: menudate in /in/DWF0d on line 3 1441147233
Output for 5.3.5 - 5.3.10
Notice: Undefined variable: menudate in /in/DWF0d on line 3 1441147234
Output for 5.2.15 - 5.3.4
Notice: Undefined variable: menudate in /in/DWF0d on line 3 1441147235
Output for 5.2.7 - 5.2.14
Notice: Undefined variable: menudate in /in/DWF0d on line 3 1441147236
Output for 5.2.3 - 5.2.6
Notice: Undefined variable: menudate in /in/DWF0d on line 3 1441147237
Output for 5.1.2 - 5.2.2
Notice: Undefined variable: menudate in /in/DWF0d on line 3 1441147238
Output for 5.1.0 - 5.1.1
Notice: Undefined variable: menudate in /in/DWF0d on line 3 1441147239
Output for 5.0.4 - 5.0.5
Notice: Undefined variable: menudate in /in/DWF0d on line 2 Notice: Undefined variable: menudate in /in/DWF0d on line 3 1441147239
Output for 4.4.9, 5.0.3
Notice: Undefined variable: menudate in /in/DWF0d on line 2 Notice: Undefined variable: menudate in /in/DWF0d on line 3 1441147239
Output for 5.0.0 - 5.0.2
Notice: Undefined variable: menudate in /in/DWF0d on line 2 Notice: Undefined variable: menudate in /in/DWF0d on line 3 1441144800
Output for 4.3.8 - 4.4.8
Notice: Undefined variable: menudate in /in/DWF0d on line 2 Notice: Undefined variable: menudate in /in/DWF0d on line 3 1441147240
Output for 4.3.1 - 4.3.7
Notice: Undefined variable: menudate in /in/DWF0d on line 2 Notice: Undefined variable: menudate in /in/DWF0d on line 3 1441147241
Output for 4.3.0
Notice: Undefined variable: menudate in /in/DWF0d on line 2 Notice: Undefined variable: menudate in /in/DWF0d on line 3 1441723062