[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:
Olly Betts 2019-02-08 15:32:30 +13:00
commit cadd97ac4f
47 changed files with 112 additions and 112 deletions

View file

@ -4,11 +4,11 @@ require "tests.php";
require "arrays_scope.php";
// New functions
check::functions(array(new_bar,bar_blah));
check::functions(array('new_bar','bar_blah'));
// New classes
check::classes(array(arrays_scope,Bar));
check::classes(array('arrays_scope','Bar'));
// New vars
check::globals(array(bar_adata,bar_bdata,bar_cdata));
check::globals(array('bar_adata','bar_bdata','bar_cdata'));
$bar=new bar();