Share tags

Supersedes #11351.
Also add the numeric value in the PHP doc