@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Link libphutil functions from docs

vrana 8c7b1714 84c32dd9

+6 -6
+6 -6
src/docs/flavortext/php_pitfalls.diviner
··· 18 18 intermediate arrays and copies every element it has previously seen each time 19 19 you iterate. 20 20 21 - In a libphutil environment, you can use ##array_mergev($list_of_lists)## 21 + In a libphutil environment, you can use @{function@libphutil:array_mergev} 22 22 instead. 23 23 24 24 = var_export() Hates Baby Animals = ··· 140 140 (e.g., sort(), asort(), ksort(), or natcasesort()). Sort this array instead, and 141 141 use it to reorder the original array. 142 142 143 - In a libphutil environment, you can often do this easily with isort() or 144 - msort(). 143 + In a libphutil environment, you can often do this easily with 144 + @{function@libphutil:isort} or @{function@libphutil:msort}. 145 145 146 146 = array_intersect() and array_diff() are Also Slow = 147 147 ··· 249 249 new $class_name($argv[0], $argv[1], ...); 250 250 251 251 ...you'll probably invent a very interesting, very novel solution that is very 252 - wrong. In a libphutil environment, solve this problem with newv(). Elsewhere, 253 - copy newv()'s implementation. 252 + wrong. In a libphutil environment, solve this problem with 253 + @{function@libphutil:newv}. Elsewhere, copy newv()'s implementation. 254 254 255 255 = Equality is not Transitive = 256 256 ··· 276 276 277 277 This is because the successor to 'z' is 'aa', which is "less than" 'z'. The 278 278 loop will run for ~700 iterations until it reaches 'zz' and terminates. That is, 279 - ##$c<## will take on these values: 279 + ##$c## will take on these values: 280 280 281 281 a 282 282 b