In the main namespace (if subpages are disabled there, which is the default), the wikitext [[/foo]] produces a link with href .//foo, which matches the behavior of the PHP parser more or less (although it should probably be ./%23foo instead).
However, in non-main namespaces where subpages are disabled, the PHP parser and Parsoid don't match. For example, in the MediaWiki namespace on enwiki(*), parsing [[/foo]] results in href="/w/index.php?title=/bar&action=edit&redlink=1" in the PHP parser, but href="./MediaWiki:/foo/ in Parsoid. Similarly, in the Topic namespace on cawiki, Parsoid produces href="./Tema:/foo".
(*) Subpages are enabled in the MW namespace in the default config, but enwiki's config overrides this and disables them. Many other WMF wikis also disable subpages in the MW namespace.
$ echo '[[/subpage]]' | ./bin/parse.js --body_only --pageName=Foo --loadWMF --prefix=enwiki <p data-parsoid='{"dsr":[0,12,0,0]}'><a rel="mw:WikiLink" href=".//subpage" title="/subpage" data-parsoid='{"stx":"simple","a":{"href":".//subpage"},"sa":{"href":"/subpage"},"dsr":[0,12,2,2]}'>/subpage</a></p> $ echo '[[/subpage]]' | ./bin/parse.js --body_only --pageName=MediaWiki:Foo --loadWMF --prefix=enwiki <p data-parsoid='{"dsr":[0,12,0,0]}'><a rel="mw:WikiLink" href="./MediaWiki:/subpage" title="MediaWiki:/subpage" data-parsoid='{"stx":"simple","a":{"href":"./MediaWiki:/subpage"},"sa":{"href":"/subpage"},"dsr":[0,12,2,2]}'>/subpage</a></p> $ echo '[[/subpage]]' | ./bin/parse.js --body_only --pageName=Topic:Foo --loadWMF --prefix=cawiki <p data-parsoid='{"dsr":[0,12,0,0]}'><a rel="mw:WikiLink" href="./Tema:/subpage" title="Tema:/subpage" data-parsoid='{"stx":"simple","a":{"href":"./Tema:/subpage"},"sa":{"href":"/subpage"},"dsr":[0,12,2,2]}'>/subpage</a></p>