Does anyone know if there are specific requirements for the PHP version,
compile options, or extensions in order for Zend_Filter to work as expected?
We have a situation on two servers where Zend_Filter is not performing the
correct transformation on a fairly simple string. Here's some sample code:

[code]
$word = 'some_word';

$camelCase = Zend_Filter::get($word, 'Word_UnderscoreToCamelCase');

echo $word, ' >> ', $camelCase;
[code]

Expected Output:

some_word >> SomeWord

Actual Output:

some_word >> Some_word

WTF? The PHP versions are different on the two servers (5.1.3 vs 5.2.5), but
both are RHEL / CentOS 4.x boxes. Works completely as expected on Max OS X
10.5.x running PHP 5.2.5, though. Since these filter classes are all using
the preg family, I'm thinking it's a PCRE issue... I'll see what versions of
Perl and PCRE are installed for more info, but has anyone else run into
this?
-- 
View this message in context: 
http://www.nabble.com/PHP-version-or-extension-requirements-for-Zend_Filter--tp19005119p19005119.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to