|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-05-31 20:18 UTC] andrei at cvs dot php dot net
[2000-06-01 18:35 UTC] andrei at cvs dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 16:00:01 2025 UTC |
the following code illustrates the problem: <? $str = "\0test\0"; echo "pre preg_replace: " . strlen($str) . "<br>\n"; $str = preg_replace('/test/', 'ok', $str); echo "post preg_replace: " . strlen($str) . "<br>\n"; ?> ./configure --with-apxs=/usr/sbin/apxs --with-gd=/usr --with-mysql=/usr --with-config-file-path=/home/httpd/conf --enable-track-vars --enable-memory-limit --enable-sysvsem --enable-sysvshm --disable-xml --disable-debug --enable-inline-optimization