[wp-hackers] readme.txt: "Requires PHP 5 tag"

Otto otto at ottodestruct.com
Fri Jul 17 21:29:43 UTC 2009

On Fri, Jul 17, 2009 at 4:11 PM, Geoffrey
Sneddon<foolistbar at googlemail.com> wrote:
> But if you use PHP 5 only syntax, you'll have a fatal error thrown and thus
> that code will never be executed.

None of that syntax is PHP 5 only. And you won't get a fatal error
until you actually try to use the PHP 5 code in the plugin. Just
having it there doesn't make it go fatal until it tries to actually
interpret it.

Since the plugin deactivates itself on activation, the only way you
can go fatal is if you have actual PHP 5 code in the main body of the
plugin (instead of in a function or something).

Sent from Memphis, TN, United States

More information about the wp-hackers mailing list