pcre little problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



i have this part of code that works with DOMDocument:

public function translateNFeXML(NFE $nfe_factory) {
        $inf_adic = $nfe_factory->createElement('infAdic');
        if ($this->inf_ad_fisco) {
            $inf_adic_fisco =
$nfe_factory->createElement('infAdicFisco', $this->inf_ad_fisco);
            $inf_adic->appendChild($inf_adic_fisco);
        }

	$string = "a=10&b[]=20&c=30n°&d=40+:50";
	die(preg_filter('/[^:][[:punct:]]/', '', $string));
        $inf_cpl = $nfe_factory->createElement('infCpl',
$this->inf_complementar);

QUESTION: Why the preg_filter causes a end of the application, with no
error throwing (even in die don't appears nothing)?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux