kumaraswamy.dapa Posted July 28, 2011 Share Posted July 28, 2011 HI all, is it possible to unset or change the value off a constant in program? Quote Link to comment Share on other sites More sharing options...
WebStyles Posted July 28, 2011 Share Posted July 28, 2011 did you try to unset or reset it? Quote Link to comment Share on other sites More sharing options...
kumaraswamy.dapa Posted July 28, 2011 Author Share Posted July 28, 2011 did you try to unset or reset it? <?php define("s",123); echo $s; ?> it is giving a error as "Udefined Symbol :s"............can you please resole why itg gng error. Quote Link to comment Share on other sites More sharing options...
Pikachu2000 Posted July 28, 2011 Share Posted July 28, 2011 "Undefined Symbol", huh? Are you sure about that? $s is an undefined variable, not a constant. s is a constant. echo s; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.