[pmwiki-devel] $12.50 -> .50 var problem

Jason Frisvold xenophage0 at gmail.com
Tue Apr 10 08:32:02 CDT 2007


On 4/10/07, J. Meijer <commentgg at hotmail.com> wrote:
> 1. Do this in anything you are developing:
>
>      error_reporting(E_ALL);    # let PHP help you

Good advice..  Another way to do this would be to set it in the
php.ini on your development server.  ...  You have a development
server, right?  You might try setting E_STRICT as well...

> Now getting to the regex part. Seems like you have to preg_quote()

Oooh..  shiny...  :)

Now why can't there be a nice pointer on the php.net function page for
preg_replace that indicates this specific function..  It's not even
listed in the See Also section!  Nothing in the comments either..
*sigh*

> /jm

-- 
Jason 'XenoPhage' Frisvold
XenoPhage0 at gmail.com
http://blog.godshell.com



More information about the pmwiki-devel mailing list