Support » Fixing WordPress » inline php error

  • hello everybody. I use the plugin inline php, but when i use it i get this error:

    Parse error: syntax error, unexpected T_LNUMBER, expecting T_VARIABLE or ‘$’ in /home/apolloni/public_html/test/wp-content/plugins/inline-php/exec_php.php5(4) : eval()’d code on line 1

    Can anyone help me with it?

    This is the code in the file:

    function exec_php($matches){
    try {
    eval(‘ob_start();’.$matches[1].’$inline_execute_output = ob_get_contents();ob_end_clean();’);
    } catch (Exception $e) {
    return $inline_execute_output;

  • The topic ‘inline php error’ is closed to new replies.