Several changes made:
All checks were successful
The build was successful.

* Do not overload entry point
 * Automatically call Program::__construct()
 * Automatically call Program::main();
 * Fix all tests
This commit is contained in:
2018-08-12 12:52:35 +02:00
förälder 8cbfca2bc9
incheckning 029dd9bfb4
10 ändrade filer med 52 tillägg och 38 borttagningar

Visa fil

@@ -1,6 +1,6 @@
class Main {
class Program {
function __construct() {
function main() {
$foo = '0';
var_dump($foo);
$foo += 2;
@@ -23,5 +23,3 @@ class Main {
var_dump($foo);
}
}
new Main();