- Output for 5.3.0 - 5.3.23, 5.4.0 - 5.4.13
- Fatal error: Method T::__set() must take exactly 2 arguments in /in/fkA1X on line 11
Process exited with code 255.
<?php
class T {
public function __get($name)
{
return 4;
}
public function __set($name)
{}
}
$t = new T();
$p = T->h = 5;
var_dump($p);