LivePubHelper::eval_php
evaluates the given php code unless we're currently publishing, in which case it returns php code that will echo the return value of the eval'd code.
Signature
public function eval_php(string
$code )
Parameters
$code
— string
Returns
- string