Re: --with-ereg

From: Date: Tue, 20 May 2008 14:34:31 +0000
Subject: Re: --with-ereg
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-37747@lists.php.net to get a copy of this message
For PHP 5.3, you get browscap.obj linking errors. I don't understand what ereg does, but I found I had to add the option: --with-ereg After buildconf.bat and running configure.js wit the options, and deleting
    del release_ts\ext\standard\brows*.*
    rd release_ts\ext\ereg /q /s
and it will make and create fine. (BTW, this was a x64 vc8 minimal build). Is this option a new required minimal build option that should be forced? Again, i don't know what this ereg stuff does so I can't tell the importance of it or how to fix it, other than adding the above switch.
'This ereg stuff' is important, in that it supports legacy code... it moved from ext/standard to ext/ereg in 5_3 in the vague hope that it might be possible to move it out to PECL some day. But whoever did it obviously missed a bit. Again, though... you're seeing errors I don't see. - Steph

« previous php.internals (#37747) next »