fix test to ensure arg pass by ref

#7 Merged at 3ceb882
Repository
remicollet
Branch
issue-191
Repository
osmanov
Branch
master
Author
  1. Remi Collet
Reviewers
Description

With php 5.6.0-dev lot of test fail becase the check doesn't work anymore. This additional check on refcount is inspired from pthreads extension.

Tested on 5.4.26, 5.5.10 and 5.6.0alpha3.

All test succeed.

Comments (1)