diff --git a/Examples/test-suite/global_vars.i b/Examples/test-suite/global_vars.i index d562d1eaa..46133fed9 100644 --- a/Examples/test-suite/global_vars.i +++ b/Examples/test-suite/global_vars.i @@ -33,4 +33,8 @@ b = "string b"; x = 1234; } + + int read_x() { return x; } + + std::string read_b() { return b; } %} diff --git a/Examples/test-suite/php/global_vars_runme.php b/Examples/test-suite/php/global_vars_runme.php new file mode 100644 index 000000000..77fdec859 --- /dev/null +++ b/Examples/test-suite/php/global_vars_runme.php @@ -0,0 +1,28 @@ +