-- David Rogers <[EMAIL PROTECTED]> wrote
(on Friday, 15 August 2008, 01:56 PM -0700):
> 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

Minimum supported PHP version for Zend Framework is PHP 5.1.6.


> 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?

-- 
Matthew Weier O'Phinney
Software Architect       | [EMAIL PROTECTED]
Zend Framework           | http://framework.zend.com/

Reply via email to