hi,

i think it would be really handy to introduce the with() feature from 
JavaScript (and probably other OOP languages) into php. so for sample the 
following

---------------------------
$class=new class;
$class->do_something();
$class->do_more();
$class->do();
---------------------------

 could be made easier and more readable:

---------------------------
$class=new class;

with($class)
{
    do_something();
    do_more();
    do();
}
---------------------------

greetings

Sebastian 

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to