Skip to main content

eval_string

Function eval_string 

Source
pub fn eval_string(code: &str) -> Result<()>
Expand description

Evaluate a PHP code string on the current thread.

The code must NOT include the opening <?php tag.

§Errors

Returns error if evaluation fails.