• hi all.

    i am in the process of writing a plugin.
    i realize when i make a syntax error, nothing will be output and i have to check the apache log.

    here is the question:
    how can i change wp so that it will report syntax error to client?
    like in normal php… if u do
    <? invalid syntax’ (); ?>
    the brwoser will tell u that u have made a syntax error.
    how can i make wp behaves like regular php

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘reporting syntax error’ is closed to new replies.