Editing a PHP example, I tried to add a block of version specific code – PHP 5.6.6 in this case. I assumed that the numbers were treated simply as text, but this is not the case. You can only use version numbers that are specified in the topic information with release dates. This seems unnecessarily restrictive; in order to portray these versions accurately I have to edit the topic intro and add a bunch of point releases.
Is there any logic behind this restriction?
<!-- if version <PHP 5.x> [gte 5.6.6] -->
This doesn't work!
<!-- end version if -->
<!-- if version <PHP 5.x> [gte 5.6] -->
This works!
<!-- end version if -->