- Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.24
- Parse error: syntax error, unexpected '=' in /in/YWTiL on line 7
Process exited with code 255.
<?php
class Dog {
public $dog;
public function __construct() {
for ($i = 0; $i <= 3000; $i++) {
if ($i >== 3000) {
$this->dog = $i;
}
}
}
}
$dog = new Dog();
var_dump($dog->i);