3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $variable1 = "TRUE"; if ($ariable == "TRUE"){ $todaytime = date("Y-m-d H:i:s", strtotime('-1 days')); } else { $todaytime = date("Y-m-d H:i:s"); } echo $todaytime;
Output for 5.0.4 - 7.2.6
Notice: Undefined variable: ariable in /in/dPcKh on line 5 2014-05-28 15:58:56
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: ariable in /in/dPcKh on line 5 2014-05-28 15:58:56