//Globally enables the ticks modifier for the whole program declare (ticks=1); //Enables the ticks modifier for just the lexical block containing //"statement". declare (ticks=1) { statement; }
<?php
$wfds=$rfds=array($sock1, $sock2, $sock3, $sock7);
$r=socket_select($rfds, $wfds, NULL, 1);
print "Ready to read:\n"; var_dump($rfds);
?>
Allow for three expression types to be sent to functions which are requesting the function argument to be passed by reference (only c. was previously supported): a. func(new myclass()); b. func(func2()); where func2() returns a reference, i.e. is defined as function &func2(...) { ... } c. func($var); where func() is defined as function func(&$var) {...} You CAN'T count on any other expressions to be passable by reference. (Andi, Zend Engine)