As a tool author, is there a way I can set the API requests I make to use PHP7 instead of HHVM? That might provide some additional coverage of code not usually reached by website users.
Topic on Talk:Beta Features/PHP7
The way the beta feature works is by setting a cookie, which is sent along with every request. The cookie indicates PHP7 should be used - extract this cookie and adjust the tool so that it will always send that cookie along with its requests.
From what I can see in my browser, the cookie that should be sent is called PHP_ENGINE
and should have the value of php7
, as observed by toggling the beta feature.
Thanks, that works! (code change, example edit)