Commit Graph

3 Commits

Author SHA1 Message Date
Arjen
172d1ffe69 Fix tests for PHP 7.1 (#297)
invoke_callback_2 fails because of ArgumentCountException (init_cb_arg gets only 2 args)
Check number of passed arguments with func_num_args() insteadof checking $args is null

session_lock fails because of second warning in 7.1
Skip session_lock.phpt for php < 7.1 and create new testcase for >= 7.1 which tests both warnings.

Update .travis.yml, don't allow failures for 7.1 anymore!
2017-01-20 18:14:54 +00:00
Xinchen Hui
0e517902d6 Improved the tests 2016-07-21 18:59:01 +08:00
Teddy Grenman
551b5c95f5 Fix double free when exception is thrown in init callback. 2010-12-29 14:18:43 +02:00