Hello,
It was my understanding that when the PCRE module was loaded in php
that constants would be available that were built in to that module.
For example, I need to use some flags with my regular expression, but
they don't seem to be loaded. Here's an example:
var_dump(PCRE_MULTILINE);
var_dump(PCRE_DOTALL);
var_dump(PCRE_MULTILINE | PCRE_DOTALL);
the lines above produce this output
string(14) "PCRE_MULTILINE"
string(11) "PCRE_DOTALL"
string(14) "PCRE_M_\UMLINE"
Shouldn't those be long values rather than string values?
Could there be a configuration problem with my WAMP test environment?
Thanks,
Daniel