Fix -prefix to prefix PHP class names

This commit is contained in:
Olly Betts 2021-04-20 18:23:23 +12:00
commit f1aaeeea1c
3 changed files with 18 additions and 17 deletions

View file

@ -15,6 +15,7 @@ CPP_TEST_CASES += \
php_iterator \
php_namewarn_rename \
php_pragma \
prefix \
include $(srcdir)/../common.mk

View file

@ -3,8 +3,8 @@
require "tests.php";
require "prefix.php";
// New functions
check::functions(array('foo_get_self'));
// No new functions
check::functions(array());
// New classes
check::classes(array('ProjectFoo'));
// No new vars