|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-03-12 15:47 UTC] sniper@php.net
[2001-03-13 09:32 UTC] andrei@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 13:00:01 2025 UTC |
$search = array("!one!e", "!two!e"); // can be any code below $replace = array("1", "2"); preg_replace($search, $replace, $matches) Error message will look sth like: failed to execute regexp code "Array". Further investigation shows that pcre uses the new zend_is_callable which returns "Array" for the array. --Wez.