Bug #2490: Perl regular expression functions not available in windows binary

From: Date: Mon, 11 Oct 1999 13:05:27 +0000
Subject: Bug #2490: Perl regular expression functions not available in windows binary
Groups: php.dev 
Request: Send a blank email to php-dev+get-11686@lists.php.net to get a copy of this message
From: Graham.Cole@cwe.cwplc.com Operating system: Windows NT PHP version: 3.0.11 PHP Bug Type: Compile Failure Bug description: Perl regular expression functions not available in windows binary the code fragment <?php $x = preg_split("/[ \t]/", "hello there"); echo "first=", $x[0], " second=", $x[1], "\n"; ?> works on solaris but not on windows binary distribution the error message is: Fatal error: Call to unsupported or undefined function preg_split() in D:\InetPub\scripts\nmtool\nmtool.php3 on line 2 It would appear that the regular expression functions are not available in the windows binary distribution. phpinfo says Regular Expressions Bundled regex library enabled The php3.ini file is the same as the example in the distribution except for the extension_dir setting.

« previous php.dev (#11686) next »