[php] Fix widespread use of bare strings in testsuite
These generate warnings with PHP 7.3, which will become errors in a future version.
This commit is contained in:
parent
1eee194a88
commit
704ec59f29
47 changed files with 95 additions and 99 deletions
|
|
@ -4,9 +4,9 @@ require "tests.php";
|
|||
require "cpp_basic.php";
|
||||
|
||||
// New functions
|
||||
check::functions(array(foo_func1,foo_func2,foo___str__,foosubsub___str__,bar_test,bar_testfoo,get_func1_ptr,get_func2_ptr,test_func_ptr,fl_window_show));
|
||||
check::functions(array('foo_func1','foo_func2','foo___str__','foosubsub___str__','bar_test','bar_testfoo','get_func1_ptr','get_func2_ptr','test_func_ptr','fl_window_show'));
|
||||
// New classes
|
||||
check::classes(array(cpp_basic,Foo,FooSub,FooSubSub,Bar,Fl_Window));
|
||||
check::classes(array('cpp_basic','Foo','FooSub','FooSubSub','Bar','Fl_Window'));
|
||||
|
||||
$f = new Foo(3);
|
||||
$f->func_ptr = get_func1_ptr();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue