[php] Add more checks to some PHP testcases
This commit is contained in:
parent
f04d741d1c
commit
cc5395a669
3 changed files with 28 additions and 2 deletions
|
|
@ -10,5 +10,9 @@ check::classes(array('arrays_scope','Bar'));
|
|||
check::globals(array());
|
||||
|
||||
$bar=new bar();
|
||||
$bar->blah($bar->adata, $bar->bdata, $bar->cdata);
|
||||
// Like C/C++, SWIG treats `int asize[ASIZE]` as `int*` so there's no checking
|
||||
// of the passed array size.
|
||||
$bar->blah($bar->bdata, $bar->cdata, $bar->adata);
|
||||
|
||||
check::done();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue