I upgrade my zend from 1.12.3 to 1.12.4, my first error is
Parse error: parse error, expecting `')'' in C:\wamp\zend\ZendFramework-1.12.4\library\Zend\Xml\Security.php on line 76
my system resume normal when I remark the whole 'set_error_handler' function
Which PHP version do you use? Less than 5.3?
That's because of anonymous function added in
(and anonymouse functions does not work on PHP <5.3)
@froschdesign Do you know, if @weierophinney uses travis? Because this could have been caught before release, as the ZF1 travis tests are failing epicly on 5.2
Parse error: syntax error, unexpected T_FUNCTION, expecting ')' in /home/travis/build/zendframework/zf1/library/Zend/Xml/Security.php on line 76
(I don't want to sound rude or anything, but as we spent quite a lot of time on making Travis green, this makes me a little sad)
I think we need 1.12.5: https://github.com/zendframework/zf1/issues?milestone=2
Will create a PR to fix this one
@mhujer I would guess that because it was a security fix, they didn't want to publish it to the repository for travis to test before releasing the information about it. Unfortunately, whoever wrote the patch for the issue forgot to test it on 5.2...
yes I am using php 5.2.9....thank you so much
@mhujer Yes, Travis is enabled. However, since this was part of a security patch, Travis could not run it until after we'd pushed the patch and tag.
Thanks for clarifying!