|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2015-01-05 07:12 UTC] requinix@php.net
-Status: Open
+Status: Not a bug
[2015-01-05 07:12 UTC] requinix@php.net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 07 18:00:02 2026 UTC |
Description: ------------ I doubt it's relevant, but the following is my `configure' command, as output by "php -i": './configure' '--prefix=/usr/local/php/5.4.36-nfsn1' '--includedir=/usr/local/php/5.4.36-nfsn1/include/' '--libdir=/usr/local/php/5.4.36-nfsn1' '--mandir=/usr/local/php/5.4.36-nfsn1/man/' '--with-config-file-path=/usr/local/php/5.4.36-nfsn1/etc/' '--disable-all' '--with-openssl' '--disable-cgi' '--enable-cli' '--enable-libxml' '--enable-xml' '--enable-simplexml' '--enable-pdo' '--with-mysql=mysqlnd' '--with-pdo-mysql=mysqlnd' '--with-mysqli=mysqlnd' '--with-pcre-regex=/usr/local' '--with-pear=/usr/local/php/5.4.36-nfsn1/lib/' Test script: --------------- echo count( preg_split( '@\s*\n\s*\n\s*@', "aa bb\n\ncc dd\n \nee ff\n\n", PREG_SPLIT_NO_EMPTY ) ), "\n"; Expected result: ---------------- I expect the following to be printed: 3 Actual result: -------------- The following is printed: 1