belliash
029dd9bfb4
All checks were successful
The build was successful.
* Do not overload entry point * Automatically call Program::__construct() * Automatically call Program::main(); * Fix all tests
26 lines
389 B
Plaintext
26 lines
389 B
Plaintext
class Program {
|
|
|
|
function main() {
|
|
$foo = '0';
|
|
var_dump($foo);
|
|
$foo += 2;
|
|
var_dump($foo);
|
|
$foo = 1;
|
|
var_dump($foo);
|
|
$foo += 1.3;
|
|
var_dump($foo);
|
|
$foo = 5 + "10 Little Piggies";
|
|
var_dump($foo);
|
|
$foo = 5 + 10;
|
|
var_dump($foo);
|
|
$foo = 'car';
|
|
$foo[0] = 'b';
|
|
var_dump($foo);
|
|
$foo = 10;
|
|
$foo = (bool) $foo;
|
|
var_dump($foo);
|
|
$foo = '';
|
|
var_dump($foo);
|
|
}
|
|
}
|