I want to create my own function loop():
loop($x,$y){ //do something }
it should work like for, foreach operators:
$y=count($array); for($x=0; $x<$y; $x++){ //do something }
How to create functions like this with { } in PHP? (NOT a regular function)
Another thing which you can if you are really serious about your function/s you can write it a php extension which will you some flexibility…http://devzone.zend.com/node/view/id/1021 I must warn you though..it’s not as easy….