[PHP] SimpleXMLElement->xpath() on php 5.1 - weird blocking problem

2007-06-13 Thread David CHANIAL
Hi (sorry for my bad english),

It's descibed at 
http://fr3.php.net/manual/en/function.simplexml-element-xpath.php that 
SimpleXMLElement->xpath() is avaiable on php-5.2.0 at least.

But, in fact, on one of my box with php-5.1.6-pl11-gentoo, libxml2-2.6.27, 
libxslt-1.1.17 xpath() is running...

But, and that it's my problem. On another box, with the SAME versions, xpath 
is rejected as an unexisting function...

Please help me.

Best regards,
-- 
David

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



[PHP] E_RECOVERABLE_ERROR - 5.1.6 to 5.2.0

2007-01-02 Thread David CHANIAL
Hi,

We are preparing the upgrade of PHP for our customers, but, after some tests, 
we have a migration "problem" caused by the news E_RECOVERABLE_ERROR.

So, even if the upgrade guide (http://www.php.net/UPDATE_5_2.txt) talk about 
the method to handle this new errors (by using try/catch), they don't talk 
about a way to permit users to upgrade to PHP 5.2.0 without modify all theirs 
scripts.

In fact, many users had just installed open sources scripts (forums, 
cms, ...), which make somes E_RECOVERABLE_ERROR. So, we can hide them by 
adding E_RECOVERABLE_ERROR to the errors mask of the php.ini but it's not 
solving the "real" problem.

Is there a way ? a temporary method ? which permit to use php 5.2 without 
forcing customers to accept the new E_RECOVERABLE_ERROR. so a way providing a 
two time upgrade (option in php.ini ?)

Thanks.

Best regards,
-- 
David

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