Jump to content

ifdefinesssss


Xu Wei Jie

Recommended Posts

well according to my understanding, ifdef and ifndef are directives that executes conditional group of statements whether a macro is defined or not. For my case, it shall be whether a variable is defined or not.

 

Thus, using ifs seems to equivalent but ifs are more for evaluating boolean expressions. Correct me if I am miss out something here.

Link to comment
https://forums.phpfreaks.com/topic/149282-ifdefinesssss/#findComment-784392
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.