Remove webObj and adjust Tests
This commit is contained in:
parent
f5432aba71
commit
34df89cd07
@ -13,8 +13,3 @@ int my_mod(int n, int m) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
int empty = 11;
|
int empty = 11;
|
||||||
|
|
||||||
class webObj {
|
|
||||||
public:
|
|
||||||
int empty = 5;
|
|
||||||
};
|
|
@ -10,8 +10,3 @@ extern int fact(int);
|
|||||||
extern int my_mod(int n, int m);
|
extern int my_mod(int n, int m);
|
||||||
|
|
||||||
extern int empty;
|
extern int empty;
|
||||||
|
|
||||||
class webObj {
|
|
||||||
public:
|
|
||||||
int empty;
|
|
||||||
};
|
|
||||||
|
@ -171,9 +171,12 @@ class test_unset {
|
|||||||
$instance = new test_unset;
|
$instance = new test_unset;
|
||||||
echo $instance->unset;
|
echo $instance->unset;
|
||||||
|
|
||||||
dl("example");
|
//dl("example");
|
||||||
require_once("example.php");
|
require_once("build/example.php");
|
||||||
|
|
||||||
$example = new example();
|
class test extends example {
|
||||||
|
}
|
||||||
|
|
||||||
echo $example->empty;
|
$empty = new test();
|
||||||
|
|
||||||
|
echo "\n\rContent of empty: ".$empty->empty_get();
|
||||||
|
Loading…
Reference in New Issue
Block a user