PHPize Online / SQLize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
Copy Clear
Copy Format Clear
<?php class test { public $var; public function construct($var) { $this->var = $var; } public function getVar() { return $this->var; } } foreach(range(1,100000) as $i) { ${'obj'.$i} = new test($i); } echo count(get_defined_vars());
Show:  
Copy Clear