<?php class foo { public $x=[1, 2, 3]; } $cycles = 100000; $t = microtime(true); for ($i=0;$i<$cycles;$i++) { $f = new foo; } $t = microtime(true) - $t; echo intval($t*1000000);
You have javascript disabled. You will not be able to edit any code.