This is an error 404
There are `0` results
preferences:
147.78 ms | 1399 KiB | 7 Q<?php
class A {
private static $_count = 0;
private $_number;
function __construct() {
$this->_number = ++static::$_count;
}
public function __toString(){
return static::$_count . ' | ' . $this->_number . "\n";
}
public function __invoke(){
return $this->_number;
}
}
class B {
private $_status = array();
}
class C {
public static function __invoke(){
return new B();
}
}
$a = new A();
$b = new A();
$c = new A();
$d = new A();
echo $a, $b, $c, $d;
echo $a(), $b(), $c(), $d();